function Variable::__construct
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Value/Variable.php \PHPUnit\TextUI\Configuration\Variable::__construct()
- 11.1.x vendor/symfony/dependency-injection/Variable.php \Symfony\Component\DependencyInjection\Variable::__construct()
- 11.1.x core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php \Drupal\migrate_drupal\Plugin\migrate\source\Variable::__construct()
Constructs a variable node.
Parameters
string|Expr $name Name:
array<string, mixed> $attributes Additional attributes:
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Expr/ Variable.php, line 17
Class
Namespace
PhpParser\Node\ExprCode
public function __construct($name, array $attributes = []) {
$this->attributes = $attributes;
$this->name = $name;
}