PHP Class Kernel

ファイルを表示 Open project: forkcms/forkcms Class Usage Examples

Public Methods

Method 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 )

Protected Methods

Method Description
buildContainer ( ) : ContainerBuilder Builds the service container.
initializeContainer ( )

Private Methods

Method Description
getAllPossibleModuleNames ( ) : array
getInstalledModules ( ContainerBuilder $container ) : array
isInstallingModule ( ) : boolean

Method Details

__construct() public method

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

boot() public method

Boot and define the Fork Constants.
public boot ( )

buildContainer() protected method

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

defineForkConstants() public method

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

handle() public method

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

initializeContainer() protected method

protected initializeContainer ( )