public function afterExample(ExampleEvent $event)
{
if (null === ($exception = $event->getException())) {
return;
}
if (!$exception instanceof NamedConstructorNotFoundException) {
return;
}
$className = get_class($exception->getSubject());
$this->methods[$className . '::' . $exception->getMethodName()] = $exception->getArguments();
}