PHP Class Kernel

Afficher le fichier Open project: forkcms/forkcms Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $environment, boolean $debug ) Constructor.
boot ( ) Boot and define the Fork Constants.
defineForkConstants ( ) This will disappear in time in favour of container-driven parameters.
handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )

Méthodes protégées

Méthode Description
buildContainer ( ) : ContainerBuilder Builds the service container.
initializeContainer ( )

Private Methods

Méthode Description
getAllPossibleModuleNames ( ) : array
getInstalledModules ( ContainerBuilder $container ) : array
isInstallingModule ( ) : boolean

Method Details

__construct() public méthode

Constructor.
public __construct ( string $environment, boolean $debug )
$environment string The environment
$debug boolean Whether to enable debugging or not

boot() public méthode

Boot and define the Fork Constants.
public boot ( )

buildContainer() protected méthode

Builds the service container.
protected buildContainer ( ) : ContainerBuilder
Résultat Symfony\Component\DependencyInjection\ContainerBuilder The compiled service container

defineForkConstants() public méthode

This will disappear in time in favour of container-driven parameters.
Deprecation:
public defineForkConstants ( )

handle() public méthode

public handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )
$request Symfony\Component\HttpFoundation\Request

initializeContainer() protected méthode

protected initializeContainer ( )