Tiger_Application

@api

Tiger front door.

The app's public/index.php is a 3-line shim that hands the project root to this class. Everything here is Tiger-owned entry plumbing — proxy/ALB header normalization, path constants, autoload/include paths, the config cascade, and the guarded dispatch. Apps customize via an optional custom.php hook, NOT by editing this file (it lives in vendor/ and updates replace it).

Methods

__construct()

__construct($root)

Capture the project root (the shim hands it in from public/index.php).

  • $root string — absolute project root (dir containing public/, application/, vendor/)

run()

run()

Boot the application and dispatch the request, failing safe on any error.

boot()

boot()

Prepare the environment and bootstrap the app without dispatching.

Shared by run() (web) and the console (bin/tiger), so CLI commands get the identical constants, config cascade, and DB adapter as a web request — no second, drifting bootstrap path. Returns the bootstrapped Zend_Application; call ->run() on it to dispatch (web only).

Returns Zend_Application