final class ProviderFactory (View source)

Creates configured providers from services that are safe during bootstrap.

This deliberately does not use the container's concrete-class autowiring fallback. A provider constructor may receive only an explicitly bound root service that existed before configured providers begin registration.

Methods

object
create(string $providerClass)
object

Details

__construct

__construct(ContainerInterface $container)

No description

Parameters

ContainerInterface $container

create

object create(string $providerClass)

No description

Parameters

string $providerClass

Return Value

object