protected function getOriginalClassName($aliasOrClassName)
    {
        // Is an original class which has an alias
        if (array_key_exists($aliasOrClassName, $this->aliasMap['classNameToAliasMapping'])) {
            return $aliasOrClassName;
        }

        // Is an alias (we're graceful regarding casing for alias definitions)
        $lowerCasedClassName = strtolower($aliasOrClassName);
        if (array_key_exists($lowerCasedClassName, $this->aliasMap['aliasToClassNameMapping'])) {
            return $this->aliasMap['aliasToClassNameMapping'][$lowerCasedClassName];
        }
        // No alias registered for this class name, return and remember that info
        return $this->aliasMap['classNameToAliasMapping'][$aliasOrClassName] = NULL;
    }
protected function getOriginalClassName($aliasOrClassName)
    {
        // Is an original class which has an alias
        if (array_key_exists($aliasOrClassName, $this->aliasMap['classNameToAliasMapping'])) {
            return $aliasOrClassName;
        }

        // Is an alias (we're graceful regarding casing for alias definitions)
        $lowerCasedClassName = strtolower($aliasOrClassName);
        if (array_key_exists($lowerCasedClassName, $this->aliasMap['aliasToClassNameMapping'])) {
            return $this->aliasMap['aliasToClassNameMapping'][$lowerCasedClassName];
        }
        // No alias registered for this class name, return and remember that info
        return $this->aliasMap['classNameToAliasMapping'][$aliasOrClassName] = NULL;
    }
protected function getOriginalClassName ( $ aliasOrClassName ) { // Is an original class which has an alias if ( array_key_exists ( $ aliasOrClassName , $ this -> aliasMap [ 'classNameToAliasMapping' ] ) ) { return $ aliasOrClassName ; } // Is an alias (we're graceful regarding casing for alias definitions) $ lowerCasedClassName = strtolower ( $ aliasOrClassName ) ; if ( array_key_exists ( $ lowerCasedClassName , $ this -> aliasMap [ 'aliasToClassNameMapping' ] ) ) { return $ this -> aliasMap [ 'aliasToClassNameMapping' ] [ $ lowerCasedClassName ] ; } // No alias registered for this class name, return and remember that info return $ this -> aliasMap [ 'classNameToAliasMapping' ] [ $ aliasOrClassName ] = NULL ; }
Looks up the original class name from the alias map

@param string $aliasOrClassName
@return string|NULL NULL if no alias mapping is found or the original class name as string
Looks up the original class name from the alias map