Argument
2 years ago
Attribute
2 years ago
Exception
2 years ago
ParameterBag
3 years ago
Alias.php
4 years ago
ChildDefinition.php
4 years ago
Container.php
2 years ago
ContainerAwareInterface.php
2 years ago
ContainerAwareTrait.php
2 years ago
ContainerBuilder.php
2 years ago
ContainerInterface.php
4 years ago
Definition.php
2 years ago
EnvVarLoaderInterface.php
4 years ago
EnvVarProcessor.php
2 years ago
EnvVarProcessorInterface.php
4 years ago
ExpressionLanguage.php
2 years ago
ExpressionLanguageProvider.php
2 years ago
Parameter.php
4 years ago
Reference.php
4 years ago
ReverseContainer.php
2 years ago
ServiceLocator.php
2 years ago
TaggedContainerInterface.php
4 years ago
TypedReference.php
2 years ago
Variable.php
4 years ago
index.php
3 years ago
ContainerInterface.php
23 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\DependencyInjection; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Psr\Container\ContainerInterface as PsrContainerInterface; |
| 5 | use MailPoetVendor\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
| 6 | use MailPoetVendor\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; |
| 7 | use MailPoetVendor\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; |
| 8 | interface ContainerInterface extends PsrContainerInterface |
| 9 | { |
| 10 | public const RUNTIME_EXCEPTION_ON_INVALID_REFERENCE = 0; |
| 11 | public const EXCEPTION_ON_INVALID_REFERENCE = 1; |
| 12 | public const NULL_ON_INVALID_REFERENCE = 2; |
| 13 | public const IGNORE_ON_INVALID_REFERENCE = 3; |
| 14 | public const IGNORE_ON_UNINITIALIZED_REFERENCE = 4; |
| 15 | public function set(string $id, ?object $service); |
| 16 | public function get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE); |
| 17 | public function has(string $id); |
| 18 | public function initialized(string $id); |
| 19 | public function getParameter(string $name); |
| 20 | public function hasParameter(string $name); |
| 21 | public function setParameter(string $name, $value); |
| 22 | } |
| 23 |