Neuron-PHP

ApplicationShuttingDownEvent implements IEvent

Event fired when the application is shutting down gracefully.

This event is triggered before the application terminates, allowing listeners to perform cleanup operations, save state, or close connections.

Use cases:

  • Close database connections
  • Save application state or cache data
  • Release file locks or resources
  • Send final metrics or analytics data
  • Log shutdown information for audit trails
  • Notify external services of application shutdown

Table of Contents

Interfaces

IEvent
Core event interface for the Neuron event system.

Methods

__construct()  : mixed
getName()  : string

Methods


        
On this page

Search results