Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / league / container / src / ServiceProvider / ServiceProviderAggregateInterface.php
1 <?php
2
3 namespace League\Container\ServiceProvider;
4
5 use League\Container\ContainerAwareInterface;
6
7 interface ServiceProviderAggregateInterface extends ContainerAwareInterface
8 {
9     /**
10      * Add a service provider to the aggregate.
11      *
12      * @param  string|\League\Container\ServiceProvider\ServiceProviderInterface $provider
13      * @return $this
14      */
15     public function add($provider);
16
17     /**
18      * Determines whether a service is provided by the aggregate.
19      *
20      * @param  string $service
21      * @return boolean
22      */
23     public function provides($service);
24
25     /**
26      * Invokes the register method of a provider that provides a specific service.
27      *
28      * @param  string $service
29      * @return void
30      */
31     public function register($service);
32 }