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\ControlStructures;
 3: 
 4: use Pharborist\ParentNode;
 5: use Pharborist\ExpressionNode;
 6: use Pharborist\TokenNode;
 7: 
 8: /**
 9:  * A declare directive.
10:  */
11: class DeclareDirectiveNode extends ParentNode {
12:   /**
13:    * @var TokenNode
14:    */
15:   protected $name;
16: 
17:   /**
18:    * @var ExpressionNode
19:    */
20:   protected $value;
21: 
22:   /**
23:    * @return TokenNode
24:    */
25:   public function getName() {
26:     return $this->name;
27:   }
28: 
29:   /**
30:    * @return ExpressionNode
31:    */
32:   public function getValue() {
33:     return $this->value;
34:   }
35: }
36: 
Pharborist API documentation generated by ApiGen