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

  • Base
  • Loader
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Base

Base interface to write plugins. All plugins should inherit from this class.

Namespace: Peg\Lib\Plugins
Located at src/Plugins/Base.php
Methods summary
public
# OnInit( )

Called when the system is ready to initialize the plugin. On this method you can listen for signals, etc...

Called when the system is ready to initialize the plugin. On this method you can listen for signals, etc...

Properties summary
public string $name
#

Class name of the plugin. This variable is set by the plugin loader.

Class name of the plugin. This variable is set by the plugin loader.

public string $path
#

Path to directory where the plugin resides. This variable is set by the plugin loader.

Path to directory where the plugin resides. This variable is set by the plugin loader.

PEG Api API documentation generated by ApiGen 2.8.0