File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 66
77A clean way to present your model attributes without putting them in the wrong file.
88
9+
10+ - [ Laravel Presenter] ( #laravel-presenter )
11+ - [ Installation] ( #installation )
12+ - [ Usage] ( #usage )
13+ - [ Model Implementation] ( #model-implementation )
14+ - [ Create New Model Presenter class] ( #create-new-model-presenter-class )
15+ - [ Using the ` Presenter ` Generated Class] ( #using-the-presenter-generated-class )
16+ - [ Example] ( #example )
17+ - [ Adding Another Presenter Type] ( #adding-another-presenter-type )
18+ - [ Testing] ( #testing )
19+ - [ Changelog] ( #changelog )
20+ - [ Contributing] ( #contributing )
21+ - [ Security Vulnerabilities] ( #security-vulnerabilities )
22+ - [ Credits] ( #credits )
23+ - [ License] ( #license )
24+
925## Installation
1026
1127You can install the package via composer:
@@ -155,8 +171,8 @@ $user->present()->fullName
155171```
156172Your application will show the full name from the method you added.
157173
158- ## Adding Another Presenter Type:
159- Like I said above, by default the type will be ` deafult ` but, you can add more types as you need.
174+ ## Adding Another Presenter Type
175+ Like I said above, by default the type will be ` default ` but, you can add more types as you need.
160176
161177Here is an example:
162178
You can’t perform that action at this time.
0 commit comments