Skip to content

Commit c378969

Browse files
authored
Better link to the Symfony docs in operations.md
1 parent 833455f commit c378969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ This action will be automatically registered as a service (the service name is t
562562
API Platform automatically retrieves the appropriate PHP entity using the data provider then deserializes user data in it,
563563
and for `POST` and `PUT` requests updates the entity with data provided by the user.
564564

565-
**Warning: the `__invoke()` method parameter [MUST be called `$data`](https://symfony.com/doc/current/routing/extra_information.html)**, otherwise, it will not be filled correctly!
565+
**Warning: the `__invoke()` method parameter [MUST be called `$data`](https://symfony.com/doc/current/components/http_kernel.html#getting-the-controller-arguments)**, otherwise, it will not be filled correctly!
566566

567567
Services (`$myService` here) are automatically injected thanks to the autowiring feature. You can type-hint any service
568568
you need and it will be autowired too.

0 commit comments

Comments
 (0)