function Attribute::__construct
Same name in this branch
- 11.1.x vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/Attribute.php \SlevomatCodingStandard\Helpers\Attribute::__construct()
- 11.1.x core/lib/Drupal/Core/Template/Attribute.php \Drupal\Core\Template\Attribute::__construct()
Parameters
Node\Name $name Attribute name:
list<Arg> $args Attribute arguments:
array<string, mixed> $attributes Additional node attributes:
Overrides NodeAbstract::__construct
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Attribute.php, line 20
Class
Namespace
PhpParser\NodeCode
public function __construct(Name $name, array $args = [], array $attributes = []) {
$this->attributes = $attributes;
$this->name = $name;
$this->args = $args;
}