Documentation

InitializeProcessor extends ProcessorBase
in package

Class InitializeProcessor

Table of Contents

Properties

$id  : string
$title  : string
$cli_initialized  : bool
$container  : Grav

Methods

__construct()  : mixed
ProcessorBase constructor.
initializeCli()  : void
process()  : ResponseInterface
processCli()  : void
addMessage()  : void
handleDebuggerRequest()  : ResponseInterface|null
handleRedirectRequest()  : ResponseInterface|null
initializeConfig()  : Config
initializeDebugger()  : Debugger
initializeErrors()  : Errors
initializeLocale()  : void
initializeLogger()  : Logger
initializeOutputBuffering()  : void
initializePages()  : Pages
initializePlugins()  : Plugins
initializeSession()  : void
initializeUri()  : void
startTimer()  : void
stopTimer()  : void

Properties

Methods

__construct()

ProcessorBase constructor.

public __construct(Grav $container) : mixed
Parameters
$container : Grav

process()

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

addMessage()

protected addMessage(string $message[, string $label = 'info' ][, bool $isString = true ]) : void
Parameters
$message : string
$label : string = 'info'
$isString : bool = true

handleDebuggerRequest()

protected handleDebuggerRequest(Debugger $debugger, ServerRequestInterface $request) : ResponseInterface|null
Parameters
$debugger : Debugger
$request : ServerRequestInterface
Return values
ResponseInterface|null

handleRedirectRequest()

protected handleRedirectRequest(RequestInterface $request[, int $code = null ]) : ResponseInterface|null
Parameters
$request : RequestInterface
$code : int = null
Return values
ResponseInterface|null

startTimer()

protected startTimer([string|null $id = null ][, string|null $title = null ]) : void
Parameters
$id : string|null = null
$title : string|null = null

stopTimer()

protected stopTimer([string|null $id = null ]) : void
Parameters
$id : string|null = null

        
On this page

Search results