Overview

Namespaces

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

Classes

  • ArrayNode
  • ArrayPairNode
  • BooleanNode
  • FalseNode
  • FloatNode
  • HeredocNode
  • IntegerNode
  • InterpolatedStringNode
  • NullNode
  • StringNode
  • StringVariableNode
  • TrueNode

Interfaces

  • ArrayElementNode
  • ScalarNode
  • Overview
  • Namespace
  • Class

Namespace Pharborist\Types

Classes summary
ArrayNode A PHP array, e.g. array(1, 3, 'banana', 'apple')
ArrayPairNode A key/value pair element in php array.
BooleanNode Base class for TRUE and FALSE.
FalseNode Boolean FALSE.
FloatNode A float scalar, like 29.8 or 3.141.
HeredocNode A heredoc.
IntegerNode An integer scalar, like 2 or 30.
InterpolatedStringNode

An interpolated string, containing variables or expressions. Example: "Hello there $name, welcome to Pharborist."

NullNode The NULL constant, spelled null or NULL.
StringNode

A string, like e.g. 'hello world' or "We are the knights who say, 'Ni!'". This does not include strings interspersed with variables or other expressions -- those are handled by InterpolatedStringNode.

StringVariableNode An interpolated variable inside a double quoted or heredoc string.
TrueNode Boolean TRUE.
Interfaces summary
ArrayElementNode Public API for Node.
ScalarNode

A single, static value that is not composed of other values (like an array). The following are all valid ScalarNodes:

Pharborist API documentation generated by ApiGen