* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection; /** * A ServiceSubscriber exposes its dependencies via the static {@link getSubscribedServices} method. * * The getSubscribedServices method returns an array of service types required by such instances, * optionally keyed by the service names used internally. Service types that start with an interrogation * mark "?" are optional, while the other ones are mandatory service dependencies. * * The injected service locators SHOULD NOT allow access to any other services not specified by the method. * * It is expected that ServiceSubscriber instances consume PSR-11-based service locators internally. * This interface does not dictate any injection method for these service locators, although constructor * injection is recommended. * * @author Nicolas Grekas
*/ interface ServiceSubscriberInterface { /** * Returns an array of service types required by such instances, optionally keyed by the service names used internally. * * For mandatory dependencies: * * * array('logger' => 'Psr\Log\LoggerInterface') means the objects use the "logger" name * internally to fetch a service which must implement Psr\Log\LoggerInterface. * * array('Psr\Log\LoggerInterface') is a shortcut for * * array('Psr\Log\LoggerInterface' => 'Psr\Log\LoggerInterface') * * otherwise: * * * array('logger' => '?Psr\Log\LoggerInterface') denotes an optional dependency * * array('?Psr\Log\LoggerInterface') is a shortcut for * * array('Psr\Log\LoggerInterface' => '?Psr\Log\LoggerInterface') * * @return array The required service types, optionally keyed by service names */ public static function getSubscribedServices(); } __halt_compiler();----SIGNATURE:----i39u2ly4kv3uRMPpN0D+FWSV2ts6DTwBtutFssrHbeL0AZQ3JO7zR9uL17f8SxnNqz8TJBD5sbyes6vjDnWNoh/v10A+jA5zUG1hL27hORzWNDZn8CYaDaNCURviytfNdrgieF8CsQG7whjOF8A6WtwGVUX8g5TuUjv6S63hEUqohVPAPBVKCz4m+W7wrB95QFUtVefkP+sFVByqwZ7G4MQ/xHKiDnEIg/fhhkoHSs+oCWxgJXlh8kKjpeiax9HNZaoWxDHjZNGL0fphQHye7sptDrBEZsR38qOeJuX3H1lcq9YnhZLM34BHnrrYiAhPnaOq3mD3haSDV7hv4PuE/znUG+9x3Wiwvdh/gU8c9N+OGm3Y5+cx1DiwC9egaSyNc6vYCCN6X7rOxy5uk8Jy3Et4eIOc2doJ6hDakIzdpLSK9gmHOjU6f4d+PeW8IRfn3a+pb1VEdQ9Z29ADEHgy2JdwkdYut1FBAXgxl8kK6XK9rX+Jshi6aKx2euEoxE8Bc9rLMLnw1MNMqGFo1Ne9n2hbMoXOEyWzvTM1fl9Z3ebAgx6uyVMqKrtOMUI25RhjboOkziIBLkRmy5fX2o+VlBygRrqXP1+a2lHkGd+LgUiy6/C2vVJf3pEgIg8xwy/vYPL3m67YPRCtq0Uy5+X17RvMZ4tiazMy6Y0tfTYyKmU=----ATTACHMENT:----NDE1MDQwNzUwNDk4MjUzMSA1NDkwNTY0Mzc0NjU1MTkgNzkxMDU4MzExODc3ODU4MA==