You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions edited this page Mar 27, 2026
·
3 revisions
Class ArrayServiceProvider.
A simple implementation of the ServiceProviderInterface that uses plain arrays
to define service factories and extensions. This provider is suitable for static
configuration and testing scenarios where no dynamic resolution is required.
Factories MUST be defined as an associative array where keys are service IDs and
values are callables. Extensions MUST also follow the same format.
Full name: \FastForward\Container\ServiceProvider\ArrayServiceProvider
This class is marked as final and can't be subclassed
This class implements:
ServiceProviderInterface
This class is a Final class
Methods
__construct
Constructs an ArrayServiceProvider with pre-defined factories and extensions.