/usr/share/php/Symfony/Component/DependencyInjection
NameSizeModeActions
Argument/-0755rm
Attribute/-0755rm
Compiler/-0755rm
Config/-0755rm
Dumper/-0755rm
Exception/-0755rm
Extension/-0755rm
LazyProxy/-0755rm
Loader/-0755rm
ParameterBag/-0755rm
Alias.php46280644editdlrm
autoload.php247680644editdlrm
ChildDefinition.php27270644editdlrm
Container.php138780644editdlrm
ContainerAwareInterface.php5900644editdlrm
ContainerAwareTrait.php5990644editdlrm
ContainerBuilder.php576430644editdlrm
ContainerInterface.php25140644editdlrm
Definition.php225140644editdlrm
EnvVarLoaderInterface.php6370644editdlrm
EnvVarProcessor.php106490644editdlrm
EnvVarProcessorInterface.php11620644editdlrm
ExpressionLanguage.php10790644editdlrm
ExpressionLanguageProvider.php15020644editdlrm
Parameter.php6240644editdlrm
Reference.php9850644editdlrm
ReverseContainer.php26080644editdlrm
ServiceLocator.php52920644editdlrm
TaggedContainerInterface.php7090644editdlrm
TypedReference.php12660644editdlrm
Variable.php7150644editdlrm
Edit: /usr/share/php/Symfony/Component/DependencyInjection/ContainerInterface.php (2514B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection; use Psr\Container\ContainerInterface as PsrContainerInterface; use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; use Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; /** * ContainerInterface is the interface implemented by service container classes. * * @author Fabien Potencier * @author Johannes M. Schmitt */ interface ContainerInterface extends PsrContainerInterface { public const RUNTIME_EXCEPTION_ON_INVALID_REFERENCE = 0; public const EXCEPTION_ON_INVALID_REFERENCE = 1; public const NULL_ON_INVALID_REFERENCE = 2; public const IGNORE_ON_INVALID_REFERENCE = 3; public const IGNORE_ON_UNINITIALIZED_REFERENCE = 4; /** * Sets a service. */ public function set(string $id, ?object $service); /** * Gets a service. * * @param string $id The service identifier * @param int $invalidBehavior The behavior when the service does not exist * * @return object|null * * @throws ServiceCircularReferenceException When a circular reference is detected * @throws ServiceNotFoundException When the service is not defined * * @see Reference */ public function get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE): ?object; /** * @return bool */ public function has(string $id): bool; /** * Check for whether or not a service has been initialized. * * @return bool */ public function initialized(string $id); /** * @return array|bool|string|int|float|null * * @throws InvalidArgumentException if the parameter is not defined */ public function getParameter(string $name); /** * @return bool */ public function hasParameter(string $name); /** * Sets a parameter. * * @param string $name The parameter name * @param array|bool|string|int|float|null $value The parameter value */ public function setParameter(string $name, $value); }