Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface::getTreeById PHP Method

getTreeById() public method

Returns tree for given id. Including all parents with sliblings and children.
public getTreeById ( integer $id, string $locale ) : Collection[]
$id integer
$locale string
return Sulu\Bundle\MediaBundle\Api\Collection[]
    public function getTreeById($id, $locale);