Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / league / container / src / ServiceProvider / ServiceProviderInterface.php
1 <?php
2
3 namespace League\Container\ServiceProvider;
4
5 use League\Container\ContainerAwareInterface;
6
7 interface ServiceProviderInterface extends ContainerAwareInterface
8 {
9     /**
10      * Returns a boolean if checking whether this provider provides a specific
11      * service or returns an array of provided services if no argument passed.
12      *
13      * @param  string $service
14      * @return boolean|array
15      */
16     public function provides($service = null);
17
18     /**
19      * Use the register method to register items with the container via the
20      * protected $this->container property or the `getContainer` method
21      * from the ContainerAwareTrait.
22      *
23      * @return void
24      */
25     public function register();
26 }