1: <?php declare(strict_types=1);
2:
3: namespace PhpParser\Node;
4:
5: use PhpParser\NodeAbstract;
6:
7: /**
8: * Represents the "..." in "foo(...)" of the first-class callable syntax.
9: */
10: class VariadicPlaceholder extends NodeAbstract {
11: /**
12: * Create a variadic argument placeholder (first-class callable syntax).
13: *
14: * @param array $attributes Additional attributes
15: */
16: public function __construct(array $attributes = []) {
17: $this->attributes = $attributes;
18: }
19:
20: public function getType(): string {
21: return 'VariadicPlaceholder';
22: }
23:
24: public function getSubNodeNames(): array {
25: return [];
26: }
27: }