AppKernelInterface
interface AppKernelInterface implements SingletonInterface, ServiceContainerProviderInterface, FrontControllerAwareInterface
Interface AppKernelInterface
Methods
This must allow some shortcuts to access a service
This must allow some shortcuts to access a service
No description
No description
This must be called when the system boots
This must be called when the system terminates its run
This must abort a runtime safely
This must handle a logging system
This must handle caught exceptions
This must handle caught errors
This must handle runtime shutdown
Details
in
ServiceContainerProviderInterface at line 43
mixed
__call(
string $name,
array $arguments)
This must allow some shortcuts to access a service
Usage:
$obj->get('request') == $obj->getService('request')
$obj->getRequest() == $obj->getService('request')
in
ServiceContainerProviderInterface at line 57
static
mixed
__callStatic(
string $name,
array $arguments)
This must allow some shortcuts to access a service
Usage:
$obj::get('request') == $obj::getInstance()->getService('request')
$obj::getRequest() == $obj::getInstance()->getService('request')
in
FrontControllerAwareInterface at line 34
static
setFrontController(
FrontControllerInterface $app)
in
FrontControllerAwareInterface at line 39
static
FrontControllerInterface
getFrontController()
at line 40
static
mixed
boot(
FrontControllerInterface $app)
This must be called when the system boots
at line 48
static
mixed
terminate(
FrontControllerInterface $app)
This must be called when the system terminates its run
at line 56
static
void
abort(
Exception $e)
This must abort a runtime safely
at line 66
static
void
log(
mixed $level,
string $message,
array $context = array())
This must handle a logging system
at line 74
static
void
handleException(
Exception $e)
This must handle caught exceptions
at line 86
static
void
handleError(
int $errno,
string $errstr = '',
string $errfile = '',
int $errline,
array $errcontext = array())
This must handle caught errors
at line 93
static
void
handleShutdown()
This must handle runtime shutdown