Trait
Methods
public final decorate(?string $id, ?string $renamedId = NULL, int $priority = 0, int $invalidBehavior = 1Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) : static
 

Sets the service that this service is decorating.

  • param string|null $id The decorated service id, use null to remove decoration
  • return $this
  • throws \InvalidArgumentException in case the decorated service id and the new decorated service id are equals
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration