Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/dependency-injection/ContainerInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
9 * file that was distributed with this source code. | 9 * file that was distributed with this source code. |
10 */ | 10 */ |
11 | 11 |
12 namespace Symfony\Component\DependencyInjection; | 12 namespace Symfony\Component\DependencyInjection; |
13 | 13 |
14 use Psr\Container\ContainerInterface as PsrContainerInterface; | |
14 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; | 15 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
15 use Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; | 16 use Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; |
16 use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; | 17 use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; |
17 | 18 |
18 /** | 19 /** |
19 * ContainerInterface is the interface implemented by service container classes. | 20 * ContainerInterface is the interface implemented by service container classes. |
20 * | 21 * |
21 * @author Fabien Potencier <fabien@symfony.com> | 22 * @author Fabien Potencier <fabien@symfony.com> |
22 * @author Johannes M. Schmitt <schmittjoh@gmail.com> | 23 * @author Johannes M. Schmitt <schmittjoh@gmail.com> |
23 */ | 24 */ |
24 interface ContainerInterface | 25 interface ContainerInterface extends PsrContainerInterface |
25 { | 26 { |
26 const EXCEPTION_ON_INVALID_REFERENCE = 1; | 27 const EXCEPTION_ON_INVALID_REFERENCE = 1; |
27 const NULL_ON_INVALID_REFERENCE = 2; | 28 const NULL_ON_INVALID_REFERENCE = 2; |
28 const IGNORE_ON_INVALID_REFERENCE = 3; | 29 const IGNORE_ON_INVALID_REFERENCE = 3; |
30 const IGNORE_ON_UNINITIALIZED_REFERENCE = 4; | |
29 | 31 |
30 /** | 32 /** |
31 * Sets a service. | 33 * Sets a service. |
32 * | 34 * |
33 * @param string $id The service identifier | 35 * @param string $id The service identifier |