cascade\Config::configureHandlers PHP Method

configureHandlers() protected method

Configure the handlers
protected configureHandlers ( array $handlers )
$handlers array Array of handler options
    protected function configureHandlers(array $handlers)
    {
        foreach ($handlers as $handlerId => $handlerOptions) {
            $handlerLoader = new HandlerLoader($handlerOptions, $this->formatters, $this->processors, $this->handlers);
            $this->handlers[$handlerId] = $handlerLoader->load();
        }
    }