public function alias(string $alias, string $serviceId): void
    {
        self::$aliases[$alias] = $serviceId;
    }
public function alias(string $alias, string $serviceId): void
    {
        self::$aliases[$alias] = $serviceId;
    }
public function alias ( string $ alias , string $ serviceId ) : void { self :: $ aliases [ $ alias ] = $ serviceId ; }
Set an alias to the container.

@param string $alias     The alias
@param string $serviceId The service to return

@return void
Set an alias to the container .