Kernel

Extends \Symfony\Component\HttpKernel\Kernel

Class Kernel

package

App

Methods

Configures the application container - dev / benchmark / test / prod

configureContainer(\Symfony\Component\DependencyInjection\ContainerBuilder $container, \Symfony\Component\Config\Loader\LoaderInterface $loader) 
Throws
\Exception

Arguments

$container

\Symfony\Component\DependencyInjection\ContainerBuilder

$loader

\Symfony\Component\Config\Loader\LoaderInterface

Configures the application routes

configureRoutes(\Symfony\Component\Routing\RouteCollectionBuilder $routes) 
Throws
\Symfony\Component\Config\Exception\FileLoaderLoadException

Arguments

$routes

\Symfony\Component\Routing\RouteCollectionBuilder

Get the application cache directory

getCacheDir() : string

Response

string

Gets the application log directory

getLogDir() : string

Response

string

Registers the application bundles

registerBundles() : \Generator

Response

\Generator

Constants

CONFIG_EXTS

CONFIG_EXTS