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