См. также: ClassLoader
Автор: Raphael Antonmattei (rantonmattei@theorchard.com)
Наследование: extends Cascade\Config\Loader\ClassLoader
Пример #1
0
 /**
  * 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();
     }
 }