1
0
Fork 0
mirror of synced 2024-06-14 16:54:52 +12:00
This commit is contained in:
shimon 2022-09-09 17:30:37 +03:00
parent dc36f05ee7
commit 48b3d82518

View file

@ -21,7 +21,7 @@ App::post('/v1/storage/buckets/:bucketId/files')
Groups array is used to group one or more routes with one or more hooks functionality.
```php
App::post('/v1/storage/buckets/:bucketId/files')
->groups(['api'])
->groups(['api'])
```
In the above example groups() is used to define the current route as part of the routes that shares a common init middleware hook.
```php