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\ParenTrait;
 5: use Pharborist\StatementNode;
 6: use Pharborist\Types\IntegerNode;
 7: 
 8: /**
 9:  * A break statement.
10:  */
11: class BreakStatementNode extends StatementNode {
12:   use ParenTrait;
13: 
14:   /**
15:    * @var IntegerNode
16:    */
17:   protected $level;
18: 
19:   /**
20:    * An optional numeric argument which tells break how many nested enclosing
21:    * structures are to be broken out of.
22:    * @return \Pharborist\Types\IntegerNode
23:    */
24:   public function getLevel() {
25:     return $this->level;
26:   }
27: }
28: 
Pharborist API documentation generated by ApiGen