public function alias($id, $original)
    {
        $this->instances[$id] = $this->get($original);

        return $this;
    }
public function alias($id, $original)
    {
        $this->instances[$id] = $this->get($original);

        return $this;
    }
public function alias ( $ id , $ original ) { $ this -> instances [ $ id ] = $ this -> get ( $ original ) ; return $ this ; }
Creates an alias for a specified class.

@param string $id
@param string $original
Creates an alias for a specified class .