src/Controller/TreeToolsController.php
private function moveToolsToOthersCategory(): array
    {
        $leftMenu = $this->getConfig()->getItem('meliscore/interface/meliscore_leftmenu/interface');
        $mergeToOthers = [];

        foreach ($leftMenu as $melisKey => $item) {
            if (!in_array($melisKey, $this->getAllowedLeftMenuConfig())) {
                $mergeToOthers[$melisKey] = $item;
            }
        }

        return $mergeToOthers;
    }
private function moveToolsToOthersCategory(): array
    {
        $leftMenu = $this->getConfig()->getItem('meliscore/interface/meliscore_leftmenu/interface');
        $mergeToOthers = [];

        foreach ($leftMenu as $melisKey => $item) {
            if (!in_array($melisKey, $this->getAllowedLeftMenuConfig())) {
                $mergeToOthers[$melisKey] = $item;
            }
        }

        return $mergeToOthers;
    }
private function moveToolsToOthersCategory ( ) : array { $ leftMenu = $ this -> getConfig ( ) -> getItem ( 'meliscore/interface/meliscore_leftmenu/interface' ) ; $ mergeToOthers = [ ] ; foreach ( $ leftMenu as $ melisKey => $ item ) { if ( ! in_array ( $ melisKey , $ this -> getAllowedLeftMenuConfig ( ) ) ) { $ mergeToOthers [ $ melisKey ] = $ item ; } } return $ mergeToOthers ; }
Retrieves all configuration under left menu configuration
with an exception to those allowable left menu configurations

@return array
Retrieves all configuration under left menu configuration with an exception to those allowable left menu configurations