class Kernels (View source)

Defines the available kernels that can be bootstrapped.

Constants

DRUPAL

The default kernel that is used on standard requests.

UPDATE

The kernel that is used during database updates.

INSTALLER

The kernel that is used during site installation.

Methods

static 
availableKernels()

Returns the available kernels.

static callable
getKernelFactory(string $kernel)

Returns the factory method that can be used to retrieve the given kernel.

Details

static availableKernels()

Returns the available kernels.

static callable getKernelFactory(string $kernel)

Returns the factory method that can be used to retrieve the given kernel.

Parameters

string $kernel The kernel to retrieve.

Return Value

callable The factory method.