N98\Magento\Command\Developer\Module\Rewrite\ConflictsCommand::_getLoadedClass PHP Method

_getLoadedClass() protected method

Returns loaded class by type like models or blocks
protected _getLoadedClass ( string $type, string $class ) : string
$type string
$class string
return string
    protected function _getLoadedClass($type, $class)
    {
        switch ($type) {
            case 'blocks':
                return Mage::getConfig()->getBlockClassName($class);
            case 'helpers':
                return Mage::getConfig()->getHelperClassName($class);
            case 'models':
                // fall-through intended
            // fall-through intended
            default:
                /** @noinspection PhpParamsInspection */
                return Mage::getConfig()->getModelClassName($class);
        }
    }