src/Model/Git/Tree.php
private function getObjectRecursive($path)
    {
        $tree = $object = $this;
        foreach ($this->splitPath($path) as $part) {
            $object = $tree->getObject($part);
            if (!$object instanceof Tree) {
                return $object;
            }
            $tree = $object;
        }

        return $object;
    }
private function getObjectRecursive($path)
    {
        $tree = $object = $this;
        foreach ($this->splitPath($path) as $part) {
            $object = $tree->getObject($part);
            if (!$object instanceof Tree) {
                return $object;
            }
            $tree = $object;
        }

        return $object;
    }
private function getObjectRecursive ( $ path ) { $ tree = $ object = $ this ; foreach ( $ this -> splitPath ( $ path ) as $ part ) { $ object = $ tree -> getObject ( $ part ) ; if ( ! $ object instanceof Tree ) { return $ object ; } $ tree = $ object ; } return $ object ; }
Get an object recursively in this tree.

@param string $path

@return Blob|Tree|false
Get an object recursively in this tree .