function Use_::__construct
Same name in this branch
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Builder/Use_.php \PhpParser\Builder\Use_::__construct()
Constructs an alias (use) list node.
Parameters
UseItem[] $uses Aliases:
Stmt\Use_::TYPE_* $type Type of alias:
array<string, mixed> $attributes Additional attributes:
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Stmt/ Use_.php, line 34
Class
Namespace
PhpParser\Node\StmtCode
public function __construct(array $uses, int $type = self::TYPE_NORMAL, array $attributes = []) {
$this->attributes = $attributes;
$this->type = $type;
$this->uses = $uses;
}