BaseKernel
abstract class BaseKernel implements Kernel (View source)
Simple Kernel container
Methods
__construct(string $basePath)
Create a new kernel for this application
string
getEnvironment()
Get the environment type
boot($flush = false)
No description
bool|null
isFlushed()
Returns whether the Kernel has been flushed on boot
shutdown()
Shutdowns the kernel.
$this
activate()
Ensures this kernel is the active kernel after or during nesting
getNestedFrom()
No description
getContainer()
No description
$this
getInjectorLoader()
Get loader for injector instance
getClassLoader()
No description
$this
getModuleLoader()
No description
$this
$this
setEnvironment(string $environment)
Sets new environment
getConfigLoader()
No description
$this
getThemeResourceLoader()
No description
$this
Details
__construct(string $basePath)
Create a new kernel for this application
string
getEnvironment()
Get the environment type
abstract
boot($flush = false)
abstract bool|null
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