Documentation
    Preparing search index...
    ApplicationStates: "created" | "initiated" | "booted" | "ready" | "terminated"

    Known application states.

    • 'created' Creating an application class instance sets the state to 'created'.

    • 'initiated' Calling app.init() method sets the state to 'initiated'. The rc file contents and environment variables are parsed during init phase.

    • 'booted' Calling app.boot() method sets the state to booted. The service providers are registered and booted in this state.

    • 'ready' Calling app.start() method sets the state to ready. A set of pre and post start operations inside this method.

                 The service providers start methods are called during pre-start phase.
                 The service providers shutdown and application terminating hooks are
                 called during post-start phase.
      
    • 'terminated' Calling app.terminate' method sets the state to terminated`. The service providers shutdown methods are called in this state.