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\Objects;
 3: 
 4: use Pharborist\ParentNode;
 5: use Pharborist\Node;
 6: use Pharborist\ExpressionNode;
 7: use Pharborist\TokenNode;
 8: 
 9: /**
10:  * A class constant lookup, e.g. `MyClass::MY_CONST`
11:  */
12: class ClassConstantLookupNode extends ParentNode implements ExpressionNode {
13:   /**
14:    * @var Node
15:    */
16:   protected $className;
17: 
18:   /**
19:    * @var TokenNode
20:    */
21:   protected $constantName;
22: 
23:   /**
24:    * @return Node
25:    */
26:   public function getClassName() {
27:     return $this->className;
28:   }
29: 
30:   /**
31:    * @return TokenNode
32:    */
33:   public function getConstantName() {
34:     return $this->constantName;
35:   }
36: }
37: 
Pharborist API documentation generated by ApiGen