Zend\Mvc\Application::bootstrap
Bootstrap the application
Defines and binds the MvcEvent, and passes it the request, response, and router. Attaches the ViewManager as a listener. Triggers the bootstrap event.
Signature
public function bootstrap(array
$listeners )
Parameters
$listeners
— array- List of listeners to attach.
Returns
- Application