Skip to content

Commit

Permalink
Update REAME
Browse files Browse the repository at this point in the history
  • Loading branch information
3m1n3nc3 committed Aug 28, 2024
1 parent 5161add commit abaf745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ The configuration file will be copied to `config/resource-modifier.php`.
To create a resource collection, you should use the `--collection` flag when creating the resource. Or, including the word `Collection` in the resource name will indicate to Laravel that it should create a collection resource. Collection resources extend the `ToneflixCode\ResourceModifier\Services\Json\ResourceCollection` class:

```bash
php artisan make:resource User --collection
php artisan mod:resource User --collection

php artisan make:resource UserCollection
php artisan mod:resource UserCollection
```

## Testing
Expand Down

0 comments on commit abaf745

Please sign in to comment.