Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/dependency-injection/ServiceSubscriberInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
31 /** | 31 /** |
32 * Returns an array of service types required by such instances, optionally keyed by the service names used internally. | 32 * Returns an array of service types required by such instances, optionally keyed by the service names used internally. |
33 * | 33 * |
34 * For mandatory dependencies: | 34 * For mandatory dependencies: |
35 * | 35 * |
36 * * array('logger' => 'Psr\Log\LoggerInterface') means the objects use the "logger" name | 36 * * ['logger' => 'Psr\Log\LoggerInterface'] means the objects use the "logger" name |
37 * internally to fetch a service which must implement Psr\Log\LoggerInterface. | 37 * internally to fetch a service which must implement Psr\Log\LoggerInterface. |
38 * * array('Psr\Log\LoggerInterface') is a shortcut for | 38 * * ['Psr\Log\LoggerInterface'] is a shortcut for |
39 * * array('Psr\Log\LoggerInterface' => 'Psr\Log\LoggerInterface') | 39 * * ['Psr\Log\LoggerInterface' => 'Psr\Log\LoggerInterface'] |
40 * | 40 * |
41 * otherwise: | 41 * otherwise: |
42 * | 42 * |
43 * * array('logger' => '?Psr\Log\LoggerInterface') denotes an optional dependency | 43 * * ['logger' => '?Psr\Log\LoggerInterface'] denotes an optional dependency |
44 * * array('?Psr\Log\LoggerInterface') is a shortcut for | 44 * * ['?Psr\Log\LoggerInterface'] is a shortcut for |
45 * * array('Psr\Log\LoggerInterface' => '?Psr\Log\LoggerInterface') | 45 * * ['Psr\Log\LoggerInterface' => '?Psr\Log\LoggerInterface'] |
46 * | 46 * |
47 * @return array The required service types, optionally keyed by service names | 47 * @return array The required service types, optionally keyed by service names |
48 */ | 48 */ |
49 public static function getSubscribedServices(); | 49 public static function getSubscribedServices(); |
50 } | 50 } |