public function Context::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/sebastian/recursion-context/src/Context.php \SebastianBergmann\RecursionContext\Context::__construct()
- 8 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::__construct()
- 8 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::__construct()
- 8 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Context.php \phpDocumentor\Reflection\DocBlock\Context::__construct()
Same name and namespace in other branches
- 8.0 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Context.php \phpDocumentor\Reflection\DocBlock\Context::__construct()
Cteates a new context.
Parameters
string $namespace The namespace where this DocBlock: resides in.
array $namespace_aliases List of namespace aliases => Fully: Qualified Namespace.
string $lsen Name of the structural element, within: the namespace.
File
- vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Context.php, line 42
Class
- Context
- The context in which a DocBlock occurs.
Namespace
phpDocumentor\Reflection\DocBlockCode
public function __construct($namespace = '', array $namespace_aliases = array(), $lsen = '') {
if (!empty($namespace)) {
$this
->setNamespace($namespace);
}
$this
->setNamespaceAliases($namespace_aliases);
$this
->setLSEN($lsen);
}