This repository was archived by the owner on Mar 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ composer require michael-rubel/laravel-loop-functions
2424
2525## Usage
2626``` php
27- use WithLoopFunctions ;
27+ use LoopFunctions ;
2828```
2929
3030## Available methods
Original file line number Diff line number Diff line change 66
77use Illuminate \Database \Eloquent \Model ;
88
9- trait WithLoopFunctions
9+ trait LoopFunctions
1010{
1111 /**
1212 * Maps your model attributes to local class properties.
Original file line number Diff line number Diff line change 22
33namespace MichaelRubel \LoopFunctions \Tests ;
44
5- use MichaelRubel \LoopFunctions \Traits \WithLoopFunctions ;
5+ use MichaelRubel \LoopFunctions \Traits \LoopFunctions ;
66
77class ArrayMappingTest extends TestCase
88{
9- use WithLoopFunctions ;
9+ use LoopFunctions ;
1010
1111 public bool $ test ;
1212 public string $ name ;
Original file line number Diff line number Diff line change 44
55use Illuminate \Support \Collection ;
66use MichaelRubel \LoopFunctions \Tests \Boilerplate \TestModel ;
7- use MichaelRubel \LoopFunctions \Traits \WithLoopFunctions ;
7+ use MichaelRubel \LoopFunctions \Traits \LoopFunctions ;
88
99class AttributeMappingTest extends TestCase
1010{
11- use WithLoopFunctions ;
11+ use LoopFunctions ;
1212
1313 public int $ id ;
1414 public bool $ test ;
Original file line number Diff line number Diff line change 44
55use Illuminate \Support \Facades \Log ;
66use MichaelRubel \LoopFunctions \Tests \Boilerplate \TestModel ;
7- use MichaelRubel \LoopFunctions \Traits \WithLoopFunctions ;
7+ use MichaelRubel \LoopFunctions \Traits \LoopFunctions ;
88
99class LoggingTest extends TestCase
1010{
11- use WithLoopFunctions ;
11+ use LoopFunctions ;
1212
1313 public int $ number ;
1414
You can’t perform that action at this time.
0 commit comments