ApplicationKernel
in package
Table of Contents
Constants
- ENVIRONMENT_DEVELOPMENT = 'dev'
- ENVIRONMENT_PRODUCTION = 'prod'
- ENVIRONMENT_STAGING = 'staging'
- ENVIRONMENT_TEST = 'test'
Properties
- $environment : string
- $libraries : array<string|int, AbstractOrpheusLibrary>
- $instance : ApplicationKernel|null
Methods
- configure() : void
- configureMainRequest() : InputRequest
- formatRoutePath() : void
- get() : static
- getEnvironment() : string
- isDebugEnabled() : bool
- isKernelCachingEnabled() : bool
- setEnvironment() : void
- start() : void
Constants
ENVIRONMENT_DEVELOPMENT
public
mixed
ENVIRONMENT_DEVELOPMENT
= 'dev'
ENVIRONMENT_PRODUCTION
public
mixed
ENVIRONMENT_PRODUCTION
= 'prod'
ENVIRONMENT_STAGING
public
mixed
ENVIRONMENT_STAGING
= 'staging'
ENVIRONMENT_TEST
public
mixed
ENVIRONMENT_TEST
= 'test'
Properties
$environment
protected
string
$environment
= self::ENVIRONMENT_PRODUCTION
$libraries
protected
array<string|int, AbstractOrpheusLibrary>
$libraries
= []
$instance
private
static ApplicationKernel|null
$instance
= null
Methods
configure()
public
configure() : void
configureMainRequest()
public
configureMainRequest(InputRequest $request) : InputRequest
Parameters
- $request : InputRequest
Return values
InputRequestformatRoutePath()
public
formatRoutePath(ControllerRoute &$route, string &$path[, array<string|int, mixed> $parameters = [] ]) : void
Parameters
- $route : ControllerRoute
- $path : string
- $parameters : array<string|int, mixed> = []
get()
public
static get() : static
Return values
staticgetEnvironment()
public
getEnvironment() : string
Return values
stringisDebugEnabled()
public
isDebugEnabled() : bool
Return values
boolisKernelCachingEnabled()
public
isKernelCachingEnabled() : bool
Return values
boolsetEnvironment()
public
setEnvironment(string $environment) : void
Parameters
- $environment : string
start()
public
start() : void