-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
I am trying to override a service from a bundle and keep argument definition of the original service.
This seems to make an infinite loop (PHP Fatal error: Allowed memory size of...):
bundle.service.id:
class: App\Service\ServiceClass
parent: 'bundle.service.id'
Using decorates
, everything works fine:
App\Service\ServiceClass:
decorates: 'bundle.service.id'
parent: 'bundle.service.id'