Browse Source

Fix readme typo

tags/1.7.0
Alban Jubert 6 years ago
parent
commit
ae1f94dc7f
  1. 4
      README.md

4
README.md

@ -288,8 +288,8 @@ Get old relations values
------------------------ ------------------------
To retrieve relations value prior to there most recent modification until the model is saved, you can use: To retrieve relations value prior to there most recent modification until the model is saved, you can use:
* `getOldAttribute($name)` method: Get a named relation old value. * `getOldRelation($name)` method: Get a named relation old value.
* `getOldAttribute()` method: Get an array of relations index by there name with there old values. * `getOldRelations()` method: Get an array of relations index by there name with there old values.
> **Notes** > **Notes**
> * If a relation has not been modified yet, its initial value will be returned > * If a relation has not been modified yet, its initial value will be returned

Loading…
Cancel
Save