CoreKernel
class CoreKernel implements Kernel (View source)
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
__construct(string $basePath)
Create a new kernel for this application
string
getEnvironment()
deprecated
deprecated
Get the environment type
boot($flush = false)
shutdown()
Shutdowns the kernel.
Kernel
nest()
Nests this kernel, all components, and returns the nested value.
$this
activate()
Ensures this kernel is the active kernel after or during nesting
getNestedFrom()
Injector
getContainer()
$this
setInjectorLoader(InjectorLoader $injectorLoader)
InjectorLoader
getInjectorLoader()
Get loader for injector instance
ClassLoader
getClassLoader()
$this
setClassLoader(ClassLoader $classLoader)
ModuleLoader
getModuleLoader()
$this
setModuleLoader(ModuleLoader $moduleLoader)
$this
setEnvironment(string $environment)
Sets new environment
ConfigLoader
getConfigLoader()
$this
setConfigLoader(ConfigLoader $configLoader)
ThemeResourceLoader
getThemeResourceLoader()
$this
setThemeResourceLoader(ThemeResourceLoader $themeResourceLoader)
bool|null
isFlushed()
Returns whether the Kernel has been flushed on boot