public function FlattenException::__call in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/debug/Exception/FlattenException.php \Symfony\Component\HttpKernel\Exception\FlattenException::__call()
File
- vendor/
symfony/ debug/ Exception/ FlattenException.php, line 38
Class
- FlattenException
- FlattenException wraps a PHP Exception to be able to serialize it.
Namespace
Symfony\Component\HttpKernel\ExceptionCode
public function __call($method, $args) {
if (!isset($this->handler)) {
$this->handler = new DebugFlattenException();
}
if (!method_exists($this->handler, $method)) {
throw new \BadMethodCallException(sprintf('Call to undefined method %s::%s()', get_class($this), $method));
}
return call_user_func_array(array(
$this->handler,
$method,
), $args);
}