/** * Add custom error handler */ protected function initializeContainer() { $handler = new ErrorHandler(); $handler->registerHandlers(); parent::initializeContainer(); }
protected function setUp() { $this->handler = new ErrorHandler(); $this->handler->registerHandlers(); }