public static function setAlias($alias)
    {
        if (self::isConfigKeyExist($alias, 'shortcuts')) {
            $shortcuts = self::$config[$alias]['shortcuts'];
            //
            foreach ($shortcuts as $alias => $target) {
                $target = Strings::replace($target, '/', '\\');
                Alias::set($target, $alias);
            }
        }
    }
public static function setAlias($alias)
    {
        if (self::isConfigKeyExist($alias, 'shortcuts')) {
            $shortcuts = self::$config[$alias]['shortcuts'];
            //
            foreach ($shortcuts as $alias => $target) {
                $target = Strings::replace($target, '/', '\\');
                Alias::set($target, $alias);
            }
        }
    }
public static function setAlias ( $ alias ) { if ( self :: isConfigKeyExist ( $ alias , 'shortcuts' ) ) { $ shortcuts = self :: $ config [ $ alias ] [ 'shortcuts' ] ; // foreach ( $ shortcuts as $ alias => $ target ) { $ target = Strings :: replace ( $ target , '/' , '\\' ) ; Alias :: set ( $ target , $ alias ) ; } } }
Set classes aliases.
Set classes aliases .