EventLoader
in package
Loads and registers event listeners from the config/event-listeners.yaml file.
Table of Contents
Properties
- $_base : Base
- $fs : IFileSystem
Methods
- __construct() : mixed
- initEvents() : void
- getPath() : string
- loadEvents() : void
Properties
$_base
private
Base
$_base
$fs
private
IFileSystem
$fs
Methods
__construct()
public
__construct(Base $base[, IFileSystem|null $fs = null ]) : mixed
Parameters
- $base : Base
- $fs : IFileSystem|null = null
-
File system implementation (null = use real file system)
initEvents()
public
initEvents() : void
getPath()
protected
getPath() : string
Return values
stringloadEvents()
protected
loadEvents(mixed $events) : void
Parameters
- $events : mixed