final 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 array
availableKernels()

Returns the available kernels.

static array
getKernelFactory(string $kernel)

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

Details

static array availableKernels()

Returns the available kernels.

Return Value

array

static array getKernelFactory(string $kernel)

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

Parameters

string $kernel

The kernel to retrieve.

The factory method.

Return Value

array