Overview

Namespaces

  • Pharborist
    • Constants
    • ControlStructures
    • Exceptions
    • Functions
    • Generators
    • Namespaces
    • Objects
    • Operators
    • Types
    • Variables

Classes

  • Pharborist\Variables\CompoundVariableNode
  • Pharborist\Variables\GlobalStatementNode
  • Pharborist\Variables\ReferenceVariableNode
  • Pharborist\Variables\StaticVariableNode
  • Pharborist\Variables\StaticVariableStatementNode
  • Pharborist\Variables\VariableNode
  • Pharborist\Variables\VariableVariableNode

Interfaces

  • Pharborist\Variables\VariableExpressionNode
  • Overview
  • Namespace
  • Class
 1: <?php
 2: namespace Pharborist;
 3: 
 4: /**
 5:  * Splat operator, e.g. `a_func($a, ...$b)`
 6:  *
 7:  * Arrays and Traversable objects can be unpacked into argument lists when
 8:  * calling functions by using the ... operator. This is also known as the
 9:  * splat operator.
10:  */
11: class SplatNode extends ParentNode {
12:   /**
13:    * @var ExpressionNode
14:    */
15:   protected $expression;
16: 
17:   /**
18:    * @return ExpressionNode
19:    */
20:   public function getExpression() {
21:     return $this->expression;
22:   }
23: }
24: 
Pharborist API documentation generated by ApiGen