FrameworkServiceProvider

Class
extends AggregateServiceProvider
Final: Yes

Aggregates core framework service providers into a unified service provider.

Description

This class MUST be used to encapsulate all foundational service providers required to initialize the application container.

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

Tags
see
AggregateServiceProvider

Description

for composing multiple service providers into one

see
HttpServiceProvider

Description

for HTTP handling and middleware support

see
EventDispatcherServiceProvider

Description

for PSR-14 and Symfony-compatible event dispatching

see
ClockServiceProvider

Description

for time and scheduling utilities

Table of Contents

Methods

__construct()

Creates a new FrameworkServiceProvider instance.

 : mixed
Methods

__construct()

Public

Creates a new FrameworkServiceProvider instance.

public __construct() : mixed

Description

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