src/Resolve.php
public function resolve($part, $source)
    {
        if (is_array($source)) {
            $source = $this->handleArray($part, $source);
        } elseif (is_object($source)) {
            $source = $this->handleObject($part, $source);
        }

        return $source;
    }
public function resolve($part, $source)
    {
        if (is_array($source)) {
            $source = $this->handleArray($part, $source);
        } elseif (is_object($source)) {
            $source = $this->handleObject($part, $source);
        }

        return $source;
    }
public function resolve ( $ part , $ source ) { if ( is_array ( $ source ) ) { $ source = $ this -> handleArray ( $ part , $ source ) ; } elseif ( is_object ( $ source ) ) { $ source = $ this -> handleObject ( $ part , $ source ) ; } return $ source ; }
Using the path part given, locate the data on the current source

@param string $part Path "part"
@param mixed $source Partial data from the subject

@return mixed Result of resolving the part path on the source data
Using the path part given locate the data on the current source