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 189
boot($flush = false)
at line 561
shutdown()
Shutdowns the kernel.
at line 565
Kernel
nest()
Nests this kernel, all components, and returns the nested value.
at line 575
$this
activate()
Ensures this kernel is the active kernel after or during nesting
at line 587
getNestedFrom()
at line 592
Injector
getContainer()
at line 597
$this
setInjectorLoader(InjectorLoader $injectorLoader)
at line 606
InjectorLoader
getInjectorLoader()
Get loader for injector instance
at line 611
ClassLoader
getClassLoader()
at line 616
$this
setClassLoader(ClassLoader $classLoader)
at line 622
ModuleLoader
getModuleLoader()
at line 627
$this
setModuleLoader(ModuleLoader $moduleLoader)
at line 633
$this
setEnvironment(string $environment)
Sets new environment
at line 644
ConfigLoader
getConfigLoader()
at line 649
$this
setConfigLoader(ConfigLoader $configLoader)
at line 655
ThemeResourceLoader
getThemeResourceLoader()
at line 660
$this
setThemeResourceLoader(ThemeResourceLoader $themeResourceLoader)
at line 671
bool|null
isFlushed()
Returns whether the Kernel has been flushed on boot