src/Mpociot/Reflection/DocBlock/Context.php
public function setNamespaceAlias($alias, $fqnn)
    {
        $this->namespace_aliases[$alias] = '\\' . trim((string)$fqnn, '\\');
        return $this;
    }
public function setNamespaceAlias($alias, $fqnn)
    {
        $this->namespace_aliases[$alias] = '\\' . trim((string)$fqnn, '\\');
        return $this;
    }
public function setNamespaceAlias ( $ alias , $ fqnn ) { $ this -> namespace_aliases [ $ alias ] = '\\' . trim ( ( string ) $ fqnn , '\\' ) ; return $ this ; }
Adds a namespace alias to the context.

@param string $alias The alias name (the part after "as", or the last
part of the Fully Qualified Namespace Name) to add.
@param string $fqnn  The Fully Qualified Namespace Name for this alias.
Any form of leading/trailing slashes are accepted, but what will be
stored is a name, prefixed with a slash, and no trailing slash.

@return $this
Adds a namespace alias to the context .