Closed
Description
Is it possible to decorate a synthetic service (set at runtime)?
When I try to do so I get the error message A synthetic service ("Vendor\Product\Decorator.inner") must be public.
Here's the YAML file
services:
Vendor\Product\Synthetic:
public: true
synthetic: true
Vendor\Product\Decorator:
class: stdClass
decorates: Vendor\Product\Synthetic
public: true