You are here

public static function FlattenException::__callStatic in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/debug/Exception/FlattenException.php \Symfony\Component\HttpKernel\Exception\FlattenException::__callStatic()

File

vendor/symfony/debug/Exception/FlattenException.php, line 29

Class

FlattenException
FlattenException wraps a PHP Exception to be able to serialize it.

Namespace

Symfony\Component\HttpKernel\Exception

Code

public static function __callStatic($method, $args) {
  if (!method_exists('Symfony\\Component\\Debug\\Exception\\FlattenException', $method)) {
    throw new \BadMethodCallException(sprintf('Call to undefined method %s::%s()', get_called_class(), $method));
  }
  return call_user_func_array(array(
    'Symfony\\Component\\Debug\\Exception\\FlattenException',
    $method,
  ), $args);
}