src/PicoAuthPlugin.php
public function onConfigLoaded(array &$config)
    {
        $config[self::PLUGIN_NAME] = $this->loadDefaultConfig($config);
        $this->config = $config[self::PLUGIN_NAME];
        $this->createContainer();
        $this->initLogger();
    }
public function onConfigLoaded(array &$config)
    {
        $config[self::PLUGIN_NAME] = $this->loadDefaultConfig($config);
        $this->config = $config[self::PLUGIN_NAME];
        $this->createContainer();
        $this->initLogger();
    }
public function onConfigLoaded ( array & $ config ) { $ config [ self :: PLUGIN_NAME ] = $ this -> loadDefaultConfig ( $ config ) ; $ this -> config = $ config [ self :: PLUGIN_NAME ] ; $ this -> createContainer ( ) ; $ this -> initLogger ( ) ; }
Pico API event - onConfigLoaded

Validates plugin's configuration from the Pico's configuration file,
fills it with default values, saves it to the config property.
Initializes the plugin's dependency container.

@param array $config CMS configuration
Pico API event - onConfigLoaded