public function getAliasForClassname(Classname $class)
    {
        foreach ($this->classnames as $c) {
            if ($c['classname']->equals($class)) {
                return str_replace('\\', '_', ltrim($class->classname, '\\'));
            }
        }

        return str_replace('\\', '_', ltrim($class->classname, '\\'));
    }
public function getAliasForClassname(Classname $class)
    {
        foreach ($this->classnames as $c) {
            if ($c['classname']->equals($class)) {
                return str_replace('\\', '_', ltrim($class->classname, '\\'));
            }
        }

        return str_replace('\\', '_', ltrim($class->classname, '\\'));
    }
public function getAliasForClassname ( Classname $ class ) { foreach ( $ this -> classnames as $ c ) { if ( $ c [ 'classname' ] -> equals ( $ class ) ) { return str_replace ( '\\' , '_' , ltrim ( $ class -> classname , '\\' ) ) ; } } return str_replace ( '\\' , '_' , ltrim ( $ class -> classname , '\\' ) ) ; }
Renamed the given class name by replacing all slashes with underscores for loading using
Magento's classloader

@param Classname $class the class name object to be renamed
@return string the Magento autoloader-compliant class name
Renamed the given class name by replacing all slashes with underscores for loading using Magento s classloader