concrete/src/Application/UserInterface/Sitemap/TreeCollection/TreeCollectionTransformer.php
private function transformEntry(Entry\EntryInterface $entry)
    {
        return [
            'id' => $entry->getID(),
            'name' => $entry->getLabel(),
            'icon' => (string) $entry->getIcon()
        ];
    }
private function transformEntry(Entry\EntryInterface $entry)
    {
        return [
            'id' => $entry->getID(),
            'name' => $entry->getLabel(),
            'icon' => (string) $entry->getIcon()
        ];
    }
private function transformEntry ( Entry \ EntryInterface $ entry ) { return [ 'id' => $ entry -> getID ( ) , 'name' => $ entry -> getLabel ( ) , 'icon' => ( string ) $ entry -> getIcon ( ) ] ; }
Convert an entry to an array
@param \Concrete\Core\Application\UserInterface\Sitemap\TreeCollection\Entry\EntryInterface $entry
@return array
Convert an entry to an array