original_string: 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);
              }
          }
      }
code: 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);
              }
          }
      }
code_tokens: 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 ) ; } } }
docstring: Set classes aliases.
docstring_tokens: Set classes aliases .