src/Resolve.php
public function handleArray($path, $subject)
    {
        $set = [];
        foreach ($subject as $subj) {
            $result = $this->resolve($path, $subj);
            if (is_array($result)) {
                $set = array_merge($set, $result);
            } else {
                $set = $result;
            }
        }
        return $set;
    }
public function handleArray($path, $subject)
    {
        $set = [];
        foreach ($subject as $subj) {
            $result = $this->resolve($path, $subj);
            if (is_array($result)) {
                $set = array_merge($set, $result);
            } else {
                $set = $result;
            }
        }
        return $set;
    }
public function handleArray ( $ path , $ subject ) { $ set = [ ] ; foreach ( $ subject as $ subj ) { $ result = $ this -> resolve ( $ path , $ subj ) ; if ( is_array ( $ result ) ) { $ set = array_merge ( $ set , $ result ) ; } else { $ set = $ result ; } } return $ set ; }
Handle the location of the value when the source is an array

@param string $path Part of the path to locate
@param mixed $subject Source to search

@return mixed Result of the search on the array
Handle the location of the value when the source is an array