N98\Magento\Command\MagentoConnect\ValidateExtensionCommand::_getBasePathFromTargetName PHP Метод

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

protected _getBasePathFromTargetName ( string $targetName ) : string
$targetName string
Результат string
    protected function _getBasePathFromTargetName($targetName)
    {
        $paths = array('mageetc' => 'app/etc', 'magecommunity' => 'app/code/community', 'magedesign' => 'app/design', 'magelocale' => 'app/locale', 'magelocal' => 'app/code/local', 'magecore' => 'app/code/core', 'magelib' => 'lib', 'magemedia' => 'media', 'mageskin' => 'skin', 'mageweb' => '.', 'magetest' => 'tests', 'mage' => '.');
        return $paths[$targetName];
    }