コード例 #1
0
 /**
  * LoggerErrorListener constructor.
  *
  * @param Config                  $options
  * @param ServiceLocatorInterface $serviceLocator
  */
 public function __construct(Config $options, ServiceLocatorInterface $serviceLocator)
 {
     parent::__construct($options);
     $this->serviceLocator = $serviceLocator;
 }
コード例 #2
0
 public function test()
 {
     $options = new Config([]);
     $listener = new HandlerListenerBase($options);
     $listener->update($this->getMockMvcEvent());
 }