public function Context::setNamespaceAliases in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Context.php \phpDocumentor\Reflection\DocBlock\Context::setNamespaceAliases()
Sets the namespace aliases, replacing all previous ones.
Parameters
array $namespace_aliases List of namespace aliases => Fully: Qualified Namespace.
Return value
$this
1 call to Context::setNamespaceAliases()
- Context::__construct in vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Context.php - Cteates a new context.
File
- vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Context.php, line 112
Class
- Context
- The context in which a DocBlock occurs.
Namespace
phpDocumentor\Reflection\DocBlockCode
public function setNamespaceAliases(array $namespace_aliases) {
$this->namespace_aliases = array();
foreach ($namespace_aliases as $alias => $fqnn) {
$this
->setNamespaceAlias($alias, $fqnn);
}
return $this;
}