Cascade\Config\Loader\ClassLoader\HandlerLoader::__construct PHP Method

__construct() public method

Constructor
See also: ClassLoader::__construct
See also: Monolog\Handler classes for handler options
public __construct ( array &$handlerOptions, array $formatters = [], array $processors = [], array $handlers = [] )
$handlerOptions array Handler options
$formatters array Array of formatter to pick from
$processors array Array of processors to pick from
$handlers array Array of handlers to pick from
    public function __construct(array &$handlerOptions, array $formatters = array(), array $processors = array(), array $handlers = array())
    {
        $this->populateFormatters($handlerOptions, $formatters);
        $this->populateProcessors($handlerOptions, $processors);
        $this->populateHandlers($handlerOptions, $handlers);
        parent::__construct($handlerOptions);
        self::initExtraOptionsHandlers();
    }