N98\Magento\Command\Developer\Theme\ListCommand::getThemes PHP Метод

getThemes() защищенный Метод

protected getThemes ( ) : array
Результат array
    protected function getThemes()
    {
        if ($this->_magentoMajorVersion == self::MAGENTO_MAJOR_VERSION_2) {
            $collection = \Mage::getModel('Mage_Core_Model_Theme')->getLabelsCollection();
            $themes = array();
            foreach ($collection as $theme) {
                $themes[] = $theme['label'];
            }
            return array($themes);
        }
        return \Mage::getModel('core/design_package')->getThemeList();
    }