src/Tadcka/Mapper/Extension/Source/Tree/MapperTreeHelper.php
public function getTreeItemFullPath($itemId, MapperTreeItemInterface $tree)
    {
        $path = $this->findRecursiveFullPath($itemId, $tree);

        if (0 < count($path)) {
            $path[$tree->getId()] = $tree->getTitle();
            $path = array_reverse($path, true);
        }

        return $path;
    }
public function getTreeItemFullPath($itemId, MapperTreeItemInterface $tree)
    {
        $path = $this->findRecursiveFullPath($itemId, $tree);

        if (0 < count($path)) {
            $path[$tree->getId()] = $tree->getTitle();
            $path = array_reverse($path, true);
        }

        return $path;
    }
public function getTreeItemFullPath ( $ itemId , MapperTreeItemInterface $ tree ) { $ path = $ this -> findRecursiveFullPath ( $ itemId , $ tree ) ; if ( 0 < count ( $ path ) ) { $ path [ $ tree -> getId ( ) ] = $ tree -> getTitle ( ) ; $ path = array_reverse ( $ path , true ) ; } return $ path ; }
Get mapper tree item full path.

@param string $itemId
@param MapperTreeItemInterface $tree

@return array
Get mapper tree item full path .