ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilDelegatingHandler.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2015 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
23
use
Whoops\Handler\Handler
;
24
25
final
class
ilDelegatingHandler
extends
Handler
26
{
30
private
$error_handling
;
31
32
public
function
__construct
(
ilErrorHandling
$error_handling
)
33
{
34
$this->error_handling =
$error_handling
;
35
}
36
45
public
function
handle
()
46
{
47
if
(
defined
(
"IL_INITIAL_WD"
)) {
48
chdir(
IL_INITIAL_WD
);
49
}
50
$handler
= $this->error_handling->getHandler();
51
$handler
->setRun($this->
getRun
());
52
$handler
->setException($this->
getException
());
53
$handler
->setInspector($this->
getInspector
());
54
$handler
->handle();
55
}
56
}
ilDelegatingHandler\handle
handle()
Last missing method from HandlerInterface.
Definition:
class.ilDelegatingHandler.php:45
ilDelegatingHandler
Definition:
class.ilDelegatingHandler.php:25
Whoops\Handler\Handler\getRun
getRun()
Definition:
Handler.php:59
ilDelegatingHandler\__construct
__construct(ilErrorHandling $error_handling)
Definition:
class.ilDelegatingHandler.php:32
Whoops\Handler\Handler\getException
getException()
Definition:
Handler.php:91
IL_INITIAL_WD
const IL_INITIAL_WD
Definition:
error.php:4
Whoops\Handler\Handler\getInspector
getInspector()
Definition:
Handler.php:75
Whoops\Handler\Handler
Abstract implementation of a Handler.
Definition:
Handler.php:15
ilErrorHandling
Definition:
class.ilErrorHandling.php:34
defined
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition:
bootstrap.php:27
Handler
$handler
$handler
Definition:
resumelogout.php:11
ilDelegatingHandler\$error_handling
$error_handling
Definition:
class.ilDelegatingHandler.php:30
Services
Exceptions
classes
class.ilDelegatingHandler.php
Generated on Sat Jan 18 2025 19:01:32 for ILIAS by
1.8.13 (using
Doxyfile
)