3 namespace League\Container\ServiceProvider;
5 use League\Container\ContainerAwareInterface;
7 interface ServiceProviderAggregateInterface extends ContainerAwareInterface
10 * Add a service provider to the aggregate.
12 * @param string|\League\Container\ServiceProvider\ServiceProviderInterface $provider
15 public function add($provider);
18 * Determines whether a service is provided by the aggregate.
20 * @param string $service
23 public function provides($service);
26 * Invokes the register method of a provider that provides a specific service.
28 * @param string $service
31 public function register($service);