Skip to content

Commit

Permalink
fix(symfony): named arguments dependency injection
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Nov 30, 2023
1 parent aa44dd7 commit 183b4d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Bundle/Resources/config/api.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,13 @@
<argument key="$controller">api_platform.symfony.main_controller</argument>
<argument key="$logger" type="service" id="logger" on-invalid="null" />
<argument key="$debug">%kernel.debug%</argument>
<argument key="$exceptionsMapping" type="collection"></argument>
<argument key="$resourceMetadataCollectionFactory" type="service" id="api_platform.metadata.resource.metadata_collection_factory" />
<argument key="$errorFormats">%api_platform.error_formats%</argument>
<argument key="$exceptionToStatus">%api_platform.exception_to_status%</argument>
<argument key="$identifiersExtractor">null</argument>
<argument key="$resourceClassResolver" type="service" id="api_platform.resource_class_resolver"/>
<argument key="$negotiator">null</argument>
<argument key="$problemCompliantErrors">%api_platform.rfc_7807_compliant_errors%</argument>
</service>

Expand Down

0 comments on commit 183b4d6

Please sign in to comment.