src/Resolve.php
public function execute($path)
    {
        $parts = (!is_array($path)) ? explode('.', $path) : $path;        
        $source = $this->subject;

        foreach ($parts as $index => $part) {
            $source = $this->resolve($part, $source);
        }
        return $source;
    }
public function execute($path)
    {
        $parts = (!is_array($path)) ? explode('.', $path) : $path;        
        $source = $this->subject;

        foreach ($parts as $index => $part) {
            $source = $this->resolve($part, $source);
        }
        return $source;
    }
public function execute ( $ path ) { $ parts = ( ! is_array ( $ path ) ) ? explode ( '.' , $ path ) : $ path ; $ source = $ this -> subject ; foreach ( $ parts as $ index => $ part ) { $ source = $ this -> resolve ( $ part , $ source ) ; } return $ source ; }
Execute the data search using the path provided

@param string|array $path Path to locate the data

@return void
Execute the data search using the path provided