Skip to content

FrameworkServiceProvider

github-actions edited this page Apr 6, 2026 · 3 revisions

Class FrameworkServiceProvider.

Aggregates core framework service providers into a unified service provider. This class MUST be used to encapsulate all foundational service providers required to initialize the application container.

The current aggregation includes:

  • See: \FastForward\Http\ServiceProvider\HttpServiceProvider for the HTTP stack
  • See: \FastForward\EventDispatcher\ServiceProvider\EventDispatcherServiceProvider for PSR-14 and Symfony-compatible event dispatching

This class SHALL implement the ServiceProviderInterface and MUST delegate its service discovery responsibilities to an internal AggregateServiceProvider.


  • Full name: \FastForward\Framework\ServiceProvider\FrameworkServiceProvider
  • Parent class: AggregateServiceProvider
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Methods

__construct

Constructs the FrameworkServiceProvider.

public __construct(): mixed

This constructor MUST initialize the aggregate service provider using a composition of essential framework service providers.


Clone this wiki locally