function NodeAbstract::__construct
Creates a Node.
Parameters
array<string, mixed> $attributes Array of attributes:
17 methods override NodeAbstract::__construct()
- Arg::__construct in vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Arg.php - Constructs a function call argument node.
- ArrayItem::__construct in vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ ArrayItem.php - Constructs an array item node.
- Attribute::__construct in vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Attribute.php - AttributeGroup::__construct in vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ AttributeGroup.php - ClosureUse::__construct in vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ ClosureUse.php - Constructs a closure use node.
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ NodeAbstract.php, line 14
Class
Namespace
PhpParserCode
public function __construct(array $attributes = []) {
$this->attributes = $attributes;
}