src/ItemCollectors/ContractCollector.php
public function alias(string $alias, string $concrete): self
    {
        $this->data->alias($alias, $concrete);
        return $this;
    }
public function alias(string $alias, string $concrete): self
    {
        $this->data->alias($alias, $concrete);
        return $this;
    }
public function alias ( string $ alias , string $ concrete ) : self { $ this -> data -> alias ( $ alias , $ concrete ) ; return $ this ; }
Alias a type.

@param   string $alias An alias for the specified class or interface
@param   string $concrete Concrete class or interface name

@return  self    Self reference
Alias a type .