-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hi,
I was receiving:
The attribute 'factory-service' is not allowed.
From:
aws_config.yml
aws_service.yml
This relates to changes in version 2.7 that are now deprecated in Symfony3.
To fix:
<service id="aws_service" class="AwsService" factory-service="aws_factory" factory-method="get" abstract="true">
<argument type="service" id="aws"/>
</service>
Needs to be changed to:
<service id="aws_service" class="AwsService" abstract="true">
<factory service="aws_factory" method="get"/>
<argument type="service" id="aws"/>
</service>
I was going to fork and PR but I think this might cause some BC breaks of Symfony <2.7.
Cheers
Chris
Metadata
Metadata
Assignees
Labels
No labels