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 Loader

A basic plugin loader.

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

Create the plugins loader object.

Create the plugins loader object.

public
# Start( string $path )

Scans a given path for valid plugin files and load them if possible. This method should be called after everything else in the application has been properly initialized.

Scans a given path for valid plugin files and load them if possible. This method should be called after everything else in the application has been properly initialized.

Parameters

$path
string
$path
Properties summary
public Peg\Lib\Plugins\Base[] $plugins
#

A list of loaded plugins.

A list of loaded plugins.

PEG Api API documentation generated by ApiGen 2.8.0