No Description

FuncCall.php 765B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace PhpParser\Node\Expr;
  3. use PhpParser\Node;
  4. use PhpParser\Node\Expr;
  5. /**
  6. * @property Node\Name|Expr $name Function name
  7. * @property Node\Arg[] $args Arguments
  8. */
  9. class FuncCall extends Expr
  10. {
  11. /**
  12. * Constructs a function call node.
  13. *
  14. * @param Node\Name|Expr $name Function name
  15. * @param Node\Arg[] $args Arguments
  16. * @param array $attributes Additional attributes
  17. */
  18. public function __construct($name, array $args = array(), array $attributes = array()) {
  19. parent::__construct(
  20. array(
  21. 'name' => $name,
  22. 'args' => $args
  23. ),
  24. $attributes
  25. );
  26. }
  27. }