PHP Класс Sulu\Component\HttpKernel\SuluKernel

Наследование: extends Symfony\Component\HttpKernel\Kernel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $environment, boolean $debug, string $suluContext = self::CONTEXT_ADMIN ) Overload the parent constructor method to add an additional constructor argument.

Защищенные методы

Метод Описание
getContext ( ) Return the application context.
getKernelParameters ( )
setContext ( $context ) Set the context.

Описание методов

__construct() публичный Метод

public __construct ( string $environment, boolean $debug, string $suluContext = self::CONTEXT_ADMIN )
$environment string
$debug boolean
$suluContext string The Sulu context (self::CONTEXT_ADMIN, self::CONTEXT_WEBSITE)

getContext() защищенный Метод

The context indicates to the runtime code which front controller has been accessed (e.g. website or admin)
protected getContext ( )

getKernelParameters() защищенный Метод

protected getKernelParameters ( )

setContext() защищенный Метод

Set the context.
protected setContext ( $context )