CloneableInstantiableIterable
Methods |
public __construct(array $factories) - param array<string,callable> $factories
|
public __invoke(string $id) : ?mixed |
public count() : int |
public get(string $id) : ?mixed |
public getIterator() : Traversable |
public getProvidedServices() : array |
public has(string $id) : bool |
public withContext(string $externalId, Symfony\Component\DependencyInjection\Container $container) : static |
Properties |
private ?Symfony\Component\DependencyInjection\Container $container = NULL |
private ?string $externalId = NULL |
private array $factories |
private array $loading = [] |
private array $providedTypes |
Methods |
private createCircularReferenceException(string $id, array $path) : Psr\Container\ContainerExceptionInterface |
private createNotFoundException(string $id) : Psr\Container\NotFoundExceptionInterface |
private doGet(string $id) : ?mixed |
private formatAlternatives(?array $alternatives = NULL, string $separator = 'and') : string |