Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit 0903fe2

Browse files
committed
update readme
1 parent 2c05727 commit 0903fe2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ composer require michael-rubel/laravel-loop-functions
2626
use LoopFunctions;
2727
```
2828

29-
## Available methods
3029
Assign Eloquent model attributes to class properties:
3130
```php
32-
$this->attributesToProperties($model);
31+
$this->propertiesFrom($model);
3332
```
3433

3534
Assign array key values to class properties:
3635
```php
37-
$this->arrayToProperties($data);
36+
$this->propertiesFrom($this->data);
3837
```
3938

4039
## Logging

0 commit comments

Comments
 (0)