class ContextErrorException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/debug/Exception/ContextErrorException.php \Symfony\Component\Debug\Exception\ContextErrorException
Error Exception with Variable Context.
@author Christian Sciberras <uuf6429@gmail.com>
Hierarchy
- class \Symfony\Component\Debug\Exception\ContextErrorException extends \Symfony\Component\Debug\Exception\ErrorException
Expanded class hierarchy of ContextErrorException
3 files declare their use of ContextErrorException
- DebugClassLoaderTest.php in vendor/
symfony/ debug/ Tests/ DebugClassLoaderTest.php - ErrorHandler.php in vendor/
symfony/ debug/ ErrorHandler.php - ErrorHandlerTest.php in vendor/
symfony/ debug/ Tests/ ErrorHandlerTest.php
File
- vendor/
symfony/ debug/ Exception/ ContextErrorException.php, line 19
Namespace
Symfony\Component\Debug\ExceptionView source
class ContextErrorException extends \ErrorException {
private $context = array();
public function __construct($message, $code, $severity, $filename, $lineno, $context = array()) {
parent::__construct($message, $code, $severity, $filename, $lineno);
$this->context = $context;
}
/**
* @return array Array of variables that existed when the exception occurred
*/
public function getContext() {
return $this->context;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContextErrorException:: |
private | property | ||
ContextErrorException:: |
public | function | ||
ContextErrorException:: |
public | function |