src/Mpociot/Reflection/DocBlock/Context.php
public function setNamespaceAliases(array $namespace_aliases)
    {
        $this->namespace_aliases = array();
        foreach ($namespace_aliases as $alias => $fqnn) {
            $this->setNamespaceAlias($alias, $fqnn);
        }
        return $this;
    }
public function setNamespaceAliases(array $namespace_aliases)
    {
        $this->namespace_aliases = array();
        foreach ($namespace_aliases as $alias => $fqnn) {
            $this->setNamespaceAlias($alias, $fqnn);
        }
        return $this;
    }
public function setNamespaceAliases ( array $ namespace_aliases ) { $ this -> namespace_aliases = array ( ) ; foreach ( $ namespace_aliases as $ alias => $ fqnn ) { $ this -> setNamespaceAlias ( $ alias , $ fqnn ) ; } return $ this ; }
Sets the namespace aliases, replacing all previous ones.

@param array $namespace_aliases List of namespace aliases => Fully
Qualified Namespace.

@return $this
Sets the namespace aliases replacing all previous ones .