mini\bootstrap() Function

Documentation

Bootstrap the mini framework for controller files

Call this at the top of any directly-accessible PHP file in the document root. Sets up error handling, output buffering, and clean URL redirects.

Transitions application from Bootstrap to Ready phase, enabling access to Scoped services.

Safe to call multiple times (idempotent after first call).

Signature

function bootstrap(): void

Returns

void

Source

functions.php:169-263