Fast-Forward PSR-14 Event Dispatcher is a simple and fast event dispatcher for PHP.
    • Fast-Forward-Event-Dispatcher
      • Getting Started
        • Installation
        • Quickstart
      • Usage Guide
        • Getting Services
        • Dispatching Events
        • Named Events
        • Subscribers
        • Attribute Listeners
        • Wildcard Listeners
        • Stoppable Events
        • Error Handling
        • Use Cases
      • Advanced Topics
        • Integration
        • Configuration Model
        • Extension Points
        • Troubleshooting
      • API Reference
        • EventDispatcher
        • Events
        • Listener Providers
        • EventDispatcherServiceProvider
        • Exceptions
      • Links
        • Dependencies
        • Ecosystem Links
      • FAQ
      • Compatibility
    • Namespaces
      • FastForward
        • EventDispatcher
          • Event
          • Exception
          • Listener
          • ListenerProvider
          • ServiceProvider
    • Packages
      • FastForward
        • EventDispatcher
    • Reports
      • Deprecated
      • Errors
      • Markers
    • Indices
      • Files

    Usage Guide

    This section focuses on the day-to-day tasks you are most likely to perform with the package.

    You can use the dispatcher in several styles:

    • plain typed events dispatched through the PSR-14 interface;
    • named events dispatched through the Symfony contracts interface or the concrete dispatcher;
    • Symfony subscribers;
    • attribute-based listeners;
    • wildcard listener providers for cross-cutting observers;
    • stoppable events;
    • error observation with ErrorEvent .
    • Getting Services
    • Dispatching Events
    • Named Events
    • Subscribers
    • Attribute Listeners
    • Wildcard Listeners
    • Stoppable Events
    • Error Handling
    • Use Cases
    Search results