mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-12-26 23:57:21 -08:00
Update README.md
This commit is contained in:
parent
863e9c95db
commit
7eb8050b66
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ $legacyUser = new User;
|
||||||
$legacyUser->set_user_name('bob');
|
$legacyUser->set_user_name('bob');
|
||||||
|
|
||||||
$result = $legacyUser->save();
|
$result = $legacyUser->save();
|
||||||
//User is not saved and ReadOnlyException is thrown.
|
//User is not saved.
|
||||||
|
//ReadOnlyException is thrown.
|
||||||
?>
|
?>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue