\Framework\CoreKernel

Summary

Methods
Properties
Constants
__construct()
boot()
isBooted()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
setupContainerAlias()
setupTimezone()
setupExceptionHandling()
$container
$booted
N/A

Properties

$container

$container : \Symfony\Component\DependencyInjection\ContainerInterface

Type

\Symfony\Component\DependencyInjection\ContainerInterface

$booted

$booted : bool

Type

bool

Methods

__construct()

__construct(\Symfony\Component\DependencyInjection\ContainerInterface  $container) : mixed

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container

Returns

mixed —

boot()

boot() : void

启动内核:初始化核心服务、注册事件、设置异常处理.

isBooted()

isBooted() : bool

检查内核是否已启动.

Returns

bool —

setupContainerAlias()

setupContainerAlias() : void

setupTimezone()

setupTimezone() : void

setupExceptionHandling()

setupExceptionHandling() : void

4.设置异常处理机制(统一接管错误与异常).