interface Application

Identifies a class as a root silverstripe application

Methods

getKernel()

Get the kernel for this application

execute(HTTPRequest $request, callable $callback, bool $flush = false)

Safely boot the application and execute the given main action

Details

at line 18
Kernel getKernel()

Get the kernel for this application

Return Value

Kernel

at line 28
HTTPResponse execute(HTTPRequest $request, callable $callback, bool $flush = false)

Safely boot the application and execute the given main action

Parameters

HTTPRequest $request
callable $callback
bool $flush

Return Value

HTTPResponse