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\Constants;
 3: 
 4: use Pharborist\Namespaces\IdentifierNameTrait;
 5: use Pharborist\ParentNode;
 6: use Pharborist\ExpressionNode;
 7: 
 8: /**
 9:  * Constant declaration.
10:  */
11: class ConstantDeclarationNode extends ParentNode {
12:   use IdentifierNameTrait;
13: 
14:   /**
15:    * @var ExpressionNode
16:    */
17:   protected $value;
18: 
19:   /**
20:    * @return ExpressionNode
21:    */
22:   public function getValue() {
23:     return $this->value;
24:   }
25: }
26: 
Pharborist API documentation generated by ApiGen