$directories
$directories :array
Class PluginRepository manages plugin loading
$eventBus :\Phile\Core\Event
__construct(\Phile\Core\Event $eventBus)
\Phile\Core\Event | $eventBus |
load(\Phile\Core\Config $config)
Loads all plug-ins
\Phile\Core\Config | $config | phile config with plugin config |
loadSingle(string $pluginKey,\Phile\Core\Config $config): \Phile\Plugin\AbstractPlugin
Loads and returns single plugin
string | $pluginKey | plugin key e.g. 'phile\errorHandler' |
\Phile\Core\Config | $config |
Plugin class