CoreKernel
class CoreKernel extends BaseKernel (View source)
Simple Kernel container
Methods
boot($flush = false)
No description
isFlushed()
Returns whether the Kernel has been flushed on boot
$this
from
BaseKernel
Details
__construct(string $basePath)
Create a new kernel for this application
string
getEnvironment()
Get the environment type
boot($flush = false)
isFlushed()
Returns whether the Kernel has been flushed on boot
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