Copied!

TaggedContainerInterface is the interface implemented when a container knows how to deals with tags.

AbstractInterface
Constants
public Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE = 1
public Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE = 3
public Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE = 4
public Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE = 2
public Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE = 0
Methods
public abstract findTaggedServiceIds(string $name) : array
 

Returns service ids for a given tag.

  • param string $name The tag name
public abstract Symfony\Component\DependencyInjection\ContainerInterface::get(string $id, int $invalidBehavior = 1self::EXCEPTION_ON_INVALID_REFERENCE) : ?object
 
  • throws ServiceCircularReferenceException When a circular reference is detected
  • throws ServiceNotFoundException When the service is not defined
  • see \Reference
public abstract Symfony\Component\DependencyInjection\ContainerInterface::getParameter(string $name)
 
  • return array|bool|string|int|float|UnitEnum|null
  • throws InvalidArgumentException if the parameter is not defined
public abstract Symfony\Component\DependencyInjection\ContainerInterface::has(string $id) : bool
public abstract Symfony\Component\DependencyInjection\ContainerInterface::hasParameter(string $name) : bool
public abstract Symfony\Component\DependencyInjection\ContainerInterface::initialized(string $id) : bool
 

Check for whether or not a service has been initialized.

public abstract Symfony\Component\DependencyInjection\ContainerInterface::set(string $id, ?object $service)
public abstract Symfony\Component\DependencyInjection\ContainerInterface::setParameter(string $name, UnitEnum|array|string|int|float|bool|null $value)
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration