8000 Update eloquent-resources.md (#8764) · Sn0wCrack/laravel-docs@75b7c95 · GitHub
[go: up one dir, main page]

Skip to content

Commit 75b7c95

Browse files
authored
Update eloquent-resources.md (laravel#8764)
remove useless sentence "In essence, resources are simple."
1 parent 15053e1 commit 75b7c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eloquent-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ For example, `UserCollection` will attempt to map the given user instances into
199199
> **Note**
200200
> If you have not read the [concept overview](#concept-overview), you are highly encouraged to do so before proceeding with this documentation.
201201
202-
In essence, resources are simple. They only need to transform a given model into an array. So, each resource contains a `toArray` method which translates your model's attributes into an API friendly array that can be returned from your application's routes or controllers:
202+
Resources only need to transform a given model into an array. So, each resource contains a `toArray` method which translates your model's attributes into an API friendly array that can be returned from your application's routes or controllers:
203203

204204
<?php
205205

0 commit comments

Comments
 (0)
0