StaticCall.php 990 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * @property PHPParser_Node_Name|PHPParser_Node_Expr $class Class name
  4. * @property string|PHPParser_Node_Expr $name Method name
  5. * @property PHPParser_Node_Arg[] $args Arguments
  6. */
  7. class PHPParser_Node_Expr_StaticCall extends PHPParser_Node_Expr
  8. {
  9. /**
  10. * Constructs a static method call node.
  11. *
  12. * @param PHPParser_Node_Name|PHPParser_Node_Expr $class Class name
  13. * @param string|PHPParser_Node_Expr $name Method name
  14. * @param PHPParser_Node_Arg[] $args Arguments
  15. * @param array $attributes Additional attributes
  16. */
  17. public function __construct($class, $name, array $args = array(), array $attributes = array()) {
  18. parent::__construct(
  19. array(
  20. 'class' => $class,
  21. 'name' => $name,
  22. 'args' => $args
  23. ),
  24. $attributes
  25. );
  26. }
  27. }