class UndefinedFunctionError
Hierarchy
- class \Symfony\Component\ErrorHandler\Error\UndefinedFunctionError extends \Symfony\Component\ErrorHandler\Error\Error
Expanded class hierarchy of UndefinedFunctionError
1 file declares its use of UndefinedFunctionError
- UndefinedFunctionErrorEnhancer.php in vendor/
symfony/ error-handler/ ErrorEnhancer/ UndefinedFunctionErrorEnhancer.php
File
-
vendor/
symfony/ error-handler/ Error/ UndefinedFunctionError.php, line 14
Namespace
Symfony\Component\ErrorHandler\ErrorView source
class UndefinedFunctionError extends \Error {
public function __construct(string $message, \Throwable $previous) {
parent::__construct($message, $previous->getCode(), $previous->getPrevious());
foreach ([
'file' => $previous->getFile(),
'line' => $previous->getLine(),
'trace' => $previous->getTrace(),
] as $property => $value) {
$refl = new \ReflectionProperty(\Error::class, $property);
$refl->setValue($this, $value);
}
}
}