Class

ezpKernelTreeMenu

class ezpKernelTreeMenu implements ezpKernelHandler

File containing the ezpKernelTreeMenu class.

Methods

__construct(array $settings = array())

ezpKernelResult run()

Execution point for controller actions.

mixed runCallback(Closure $callback, bool $postReinitialize = true)

Not supported by ezpKernelTreeMenu

setUseExceptions(bool $useExceptions)

Sets whether to use exceptions inside the kernel.

void reInitialize()

Reinitializes the kernel environment.

bool hasServiceContainer()

Checks whether the kernel handler has the Symfony service container container or not.

ContainerInterface|null getServiceContainer()

Returns the Symfony service container if it has been injected, otherwise returns null.

Details

at line 38
public __construct(array $settings = array())

Parameters

array $settings

at line 200
public ezpKernelResult run()

Execution point for controller actions.

Returns false if not supported

Return Value

ezpKernelResult

at line 291
public mixed runCallback(Closure $callback, bool $postReinitialize = true)

Not supported by ezpKernelTreeMenu

Parameters

Closure $callback
bool $postReinitialize Default is true. If set to false, the kernel environment will not be reinitialized. This can be useful to optimize several calls to the kernel within the same context.

Return Value

mixed The result of the callback

Exceptions

RuntimeException

at line 301
public setUseExceptions(bool $useExceptions)

Sets whether to use exceptions inside the kernel.

Parameters

bool $useExceptions

at line 311
public void reInitialize()

Reinitializes the kernel environment.

Return Value

void

at line 378
public bool hasServiceContainer()

Checks whether the kernel handler has the Symfony service container container or not.

Return Value

bool

at line 389
public ContainerInterface|null getServiceContainer()

Returns the Symfony service container if it has been injected, otherwise returns null.

Return Value

ContainerInterface|null