class Bootstrap (View source)

Process-level setup Kernel::boot() runs before routing: timezone and session cookie.

Methods

static Closure
notFoundRenderer()

The HTML 404 body BootstrapErrorResponder renders; deferred so the controller is only built on a miss.

static void
initializeTimezone(ConfigurationInterface $config)

Priority: configured timezone > php.ini date.timezone > UTC

static void
initializeSession(ConfigurationInterface $config)

Starts the session with secure cookie flags and a gc lifetime behind the app's own timeout.

Details

static Closure notFoundRenderer()

The HTML 404 body BootstrapErrorResponder renders; deferred so the controller is only built on a miss.

Return Value

Closure

static void initializeTimezone(ConfigurationInterface $config)

Priority: configured timezone > php.ini date.timezone > UTC

Parameters

ConfigurationInterface $config

Return Value

void

static void initializeSession(ConfigurationInterface $config)

Starts the session with secure cookie flags and a gc lifetime behind the app's own timeout.

Parameters

ConfigurationInterface $config

Return Value

void