The Kernel is the heart of the Symfony system.
It manages an environment made of bundles.
@author Fabien Potencier <fabien@symfony.com>
@api
Expanded class hierarchy of Kernel
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HttpKernelInterface:: |
constant | |||
HttpKernelInterface:: |
constant | |||
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | 1 | |
Kernel:: |
protected | property | ||
Kernel:: |
protected | property | ||
Kernel:: |
public | function |
Boots the current kernel. Overrides KernelInterface:: |
1 |
Kernel:: |
protected | function | Builds the service container. | 1 |
Kernel:: |
protected | function | Dumps the service container to PHP code in the cache. | |
Kernel:: |
constant | |||
Kernel:: |
public | function |
Returns a bundle and optionally its descendants by its name. Overrides KernelInterface:: |
|
Kernel:: |
public | function |
Gets the registered bundle instances. Overrides KernelInterface:: |
1 |
Kernel:: |
public | function |
Gets the cache directory. Overrides KernelInterface:: |
|
Kernel:: |
public | function |
Gets the charset of the application. Overrides KernelInterface:: |
|
Kernel:: |
public | function |
Gets the current container. Overrides KernelInterface:: |
|
Kernel:: |
protected | function | Gets the container's base class. | |
Kernel:: |
protected | function | Gets a new ContainerBuilder instance used to build the service container. | 1 |
Kernel:: |
protected | function | Gets the container class. | |
Kernel:: |
protected | function | Returns a loader for the container. | |
Kernel:: |
public | function |
Gets the environment. Overrides KernelInterface:: |
|
Kernel:: |
protected | function | Gets the environment parameters. | |
Kernel:: |
protected | function | Gets a http kernel from the container | |
Kernel:: |
protected | function | Returns the kernel parameters. | |
Kernel:: |
public | function |
Gets the log directory. Overrides KernelInterface:: |
|
Kernel:: |
public | function |
Gets the name of the kernel Overrides KernelInterface:: |
1 |
Kernel:: |
public | function |
Gets the application root dir. Overrides KernelInterface:: |
|
Kernel:: |
public | function |
Gets the request start time (not available if debug is disabled). Overrides KernelInterface:: |
|
Kernel:: |
public | function |
@api Overrides HttpKernelInterface:: |
|
Kernel:: |
public | function | 3 | |
Kernel:: |
protected | function | Initializes the data structures related to the bundle management. | 1 |
Kernel:: |
protected | function | Initializes the service container. | 1 |
Kernel:: |
public | function |
Checks if a given class name belongs to an active bundle. Overrides KernelInterface:: |
|
Kernel:: |
public | function |
Checks if debug mode is enabled. Overrides KernelInterface:: |
|
Kernel:: |
public | function | Loads the PHP class cache. | |
Kernel:: |
public | function |
Returns the file path for a given resource. Overrides KernelInterface:: |
|
Kernel:: |
constant | |||
Kernel:: |
constant | |||
Kernel:: |
constant | |||
Kernel:: |
public | function | ||
Kernel:: |
public | function | Used internally. | |
Kernel:: |
public | function |
Shutdowns the kernel. Overrides KernelInterface:: |
|
Kernel:: |
public static | function | Removes comments from a PHP source string. | |
Kernel:: |
public | function |
@api Overrides TerminableInterface:: |
|
Kernel:: |
public | function | ||
Kernel:: |
constant | |||
Kernel:: |
constant | |||
Kernel:: |
public | function | ||
Kernel:: |
public | function | Constructor. | 1 |
KernelInterface:: |
public | function | Returns an array of bundles to registers. | 4 |
KernelInterface:: |
public | function | Loads the container configuration | 4 |