interface Application (View source)

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

Kernel getKernel()

Get the kernel for this application

Return Value

Kernel

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