src/Environment/FactoryEnvironment.php
static function setAlias($name, $alias)
    {
        if (!is_array($alias))
            $alias = array($alias);

        foreach($alias as $a)
            self::$_aliases[(string) $a] = (string) $name;
    }
static function setAlias($name, $alias)
    {
        if (!is_array($alias))
            $alias = array($alias);

        foreach($alias as $a)
            self::$_aliases[(string) $a] = (string) $name;
    }
static function setAlias ( $ name , $ alias ) { if ( ! is_array ( $ alias ) ) $ alias = array ( $ alias ) ; foreach ( $ alias as $ a ) self :: $ _aliases [ ( string ) $ a ] = ( string ) $ name ; }
Set Alias Or Name Aliases

@param string       $name  Alias Or Name
@param array|string $alias Alias(es)
Set Alias Or Name Aliases