Overview

Namespaces

  • None
  • Peg
    • Cli
      • Commands
    • Config
    • Custom
      • Command
        • Action
          • Generate
          • Parse
      • CommandLine
      • Config
      • Localization
      • Utilities
    • Lib
      • Definitions
        • Element
      • Generator
      • Lexers
      • Plugins
      • Signals
        • Data
          • Definitions
          • Lexers
        • Type
  • PHP

Classes

  • ClassElement
  • ClassVariable
  • Constant
  • Enumeration
  • FunctionElement
  • GlobalVariable
  • Header
  • NamespaceElement
  • Overload
  • Parameter
  • ReturnType
  • TypeComponents
  • TypeDef
  • VariableType
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class TypeComponents

Class to identify the components of a type seperated by the scope operator, eg: Something::Someclass::Sometype. This class shouldn't be used by it self but with the help of the Symbols class.

Namespace: Peg\Lib\Definitions\Element
See: \Peg\Lib\Definitions\Symbols::GetComponents($type)
Located at src/Definitions/Element/TypeComponents.php
Methods summary
public
# __construct( )
public boolean
# HasNamespace( )

Returns true if theres a namespace on the components of a type declaration.

Returns true if theres a namespace on the components of a type declaration.

Returns

boolean
public boolean
# HasClass( )

Returns true if theres a class on the components of a type declaration.

Returns true if theres a class on the components of a type declaration.

Returns

boolean
Properties summary
public mixed $namespace
#
public mixed $class
#
public mixed $type
#
PEG Api API documentation generated by ApiGen 2.8.0