CoreKernel
class CoreKernel implements Kernel
Simple Kernel container
Methods
Create a new kernel for this application
No description
Shutdowns the kernel.
Ensures this kernel is the active kernel after or during nesting
No description
No description
Get loader for injector instance
No description
No description
Sets new environment
No description
No description
Returns whether the Kernel has been flushed on boot
Details
at line 100
__construct(string $basePath)
Create a new kernel for this application
at line 151
string
getEnvironment()
deprecated
deprecated 5.0 use Director::get_environment_type() instead. Since 5.0 it should return only if kernel overrides. No checking SESSION or Environment.
Get the environment type
at line 183
boot($flush = false)
at line 558
shutdown()
Shutdowns the kernel.
at line 562
Kernel
nest()
Nests this kernel, all components, and returns the nested value.
at line 572
$this
activate()
Ensures this kernel is the active kernel after or during nesting
at line 584
getNestedFrom()
at line 589
Injector
getContainer()
at line 594
$this
setInjectorLoader(InjectorLoader $injectorLoader)
at line 603
InjectorLoader
getInjectorLoader()
Get loader for injector instance
at line 608
ClassLoader
getClassLoader()
at line 613
$this
setClassLoader(ClassLoader $classLoader)
at line 619
ModuleLoader
getModuleLoader()
at line 624
$this
setModuleLoader(ModuleLoader $moduleLoader)
at line 630
$this
setEnvironment(string $environment)
Sets new environment
at line 641
ConfigLoader
getConfigLoader()
at line 646
$this
setConfigLoader(ConfigLoader $configLoader)
at line 652
ThemeResourceLoader
getThemeResourceLoader()
at line 657
$this
setThemeResourceLoader(ThemeResourceLoader $themeResourceLoader)
at line 668
bool|null
isFlushed()
Returns whether the Kernel has been flushed on boot