Skip to content

Commit eb75fb9

Browse files
committed
wip
1 parent 2ea042e commit eb75fb9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/docs/3.0/actions/actions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,12 @@ POST: api/restify-api/posts/1/actions?action=publish-posts-action
227227
```
228228

229229
And you don't have to pass the `repositories` array in that case, since it's present in the query.
230+
231+
Because it will be right in your handle method:
232+
233+
```php
234+
public function handle(ActionRequest $request, Post $post): JsonResponse
235+
{
236+
//
237+
}
238+
```

0 commit comments

Comments
 (0)