src/Di/Container.php
public function addAlias(string $name, string $className)
    {
        $this->aliases[$name] = $className;
        return $this;
    }
public function addAlias(string $name, string $className)
    {
        $this->aliases[$name] = $className;
        return $this;
    }
public function addAlias ( string $ name , string $ className ) { $ this -> aliases [ $ name ] = $ className ; return $ this ; }
Add a class alias

@param  string $name
@param  string $className
@return $this
Add a class alias