private function getSearchRelationsForPath($path)
    {
        $matched = [];
        foreach ($this->_searchedRelations as $relation) {
            if (0 === strpos($relation, $path . '.')) {
                $matched[substr($relation, strlen($path . '.'))] = substr($relation, strlen($path . '.'));
            }
        }
        $this->debug($path . ': ' . implode("|||", $matched));
        return $matched;
    }
private function getSearchRelationsForPath($path)
    {
        $matched = [];
        foreach ($this->_searchedRelations as $relation) {
            if (0 === strpos($relation, $path . '.')) {
                $matched[substr($relation, strlen($path . '.'))] = substr($relation, strlen($path . '.'));
            }
        }
        $this->debug($path . ': ' . implode("|||", $matched));
        return $matched;
    }
private function getSearchRelationsForPath ( $ path ) { $ matched = [ ] ; foreach ( $ this -> _searchedRelations as $ relation ) { if ( 0 === strpos ( $ relation , $ path . '.' ) ) { $ matched [ substr ( $ relation , strlen ( $ path . '.' ) ) ] = substr ( $ relation , strlen ( $ path . '.' ) ) ; } } $ this -> debug ( $ path . ': ' . implode ( "|||" , $ matched ) ) ; return $ matched ; }
Extracts only searched relations for specified path.
@param string $path
@return array
Extracts only searched relations for specified path .