This is the default strategy used by all components.
Наследование: implements PhpParser\ErrorHandler
Пример #1
0
 /**
  * @expectedException \PhpParser\Error
  * @expectedExceptionMessage Test
  */
 public function testHandleError()
 {
     $errorHandler = new Throwing();
     $errorHandler->handleError(new Error('Test'));
 }