Copied!

Declares a decorating service.

CloneableInstantiable
Properties
public string $decorates
public int $onInvalid
public int $priority
Methods
public __construct(string $decorates, int $priority = 0, int $onInvalid = 1Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE)
 
  • param string $decorates The service id to decorate
  • param int $priority The priority of this decoration when multiple decorators are declared for the same service
  • param int $onInvalid The behavior to adopt when the decoration is invalid; must be one of the {@see \ContainerInterface} constants
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration