ContextErrorException deprecated

class ContextErrorException extends ErrorException

deprecated

since version 3.3. Instead, \ErrorException will be used directly in 4.0.

Error Exception with Variable Context.

Methods

__construct($message, $code, $severity, $filename, $lineno, $context = array())
array getContext()

Details

__construct($message, $code, $severity, $filename, $lineno, $context = array())

Parameters

$message
$code
$severity
$filename
$lineno
$context

array getContext()

Return Value

array Array of variables that existed when the exception occurred

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Debug/Exception/ContextErrorException.html