interface ServiceCollectionInterface
A ServiceProviderInterface that is also countable and iterable.
@author Kevin Bond <kevinbond@gmail.com>
@template-covariant T of mixed
@extends ServiceProviderInterface<T> @extends \IteratorAggregate<string, T>
Hierarchy
- interface \Psr\Container\ContainerInterface
- interface \Symfony\Contracts\Service\ServiceProviderInterface extends \Psr\Container\ContainerInterface
- interface \Symfony\Contracts\Service\ServiceCollectionInterface extends \Symfony\Contracts\Service\ServiceProviderInterface \Symfony\Contracts\Service\Countable \Symfony\Contracts\Service\IteratorAggregate
- interface \Symfony\Contracts\Service\ServiceProviderInterface extends \Psr\Container\ContainerInterface
Expanded class hierarchy of ServiceCollectionInterface
All classes that implement ServiceCollectionInterface
1 file declares its use of ServiceCollectionInterface
- ServiceLocator.php in vendor/
symfony/ dependency-injection/ ServiceLocator.php
File
-
vendor/
symfony/ service-contracts/ ServiceCollectionInterface.php, line 24
Namespace
Symfony\Contracts\ServiceView source
interface ServiceCollectionInterface extends ServiceProviderInterface, \Countable, \IteratorAggregate {
}