Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pakomp authored Nov 21, 2017
1 parent fe3f442 commit 6663319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $nextMonth = Carbon\Carbon::now()->addMonth();
$user->future()->plan([
'bio' => 'Happy developer time. Wooh!',
'mood' => 'excited',
])->for($nextMonth);
])->at($nextMonth);

// Does our user have any scheduled plans for next month?
$user->future()->anyPlansFor($nextMonth); // true
Expand Down Expand Up @@ -93,7 +93,7 @@ $futurePlans->resultDiff() // Shows which attributes has changed
| **FutureCollection**#*result* | - | Model | Gets the model back with all the future data filled. **It is not saved** |
| **FutureCollection**#*resultDiff* | - | Support\Collection | Gets a list of all fields that would change, with both *before* and *after* |
| **FuturePlanner**#*plan* | array | FuturePlanner | Set the attributes which should be persisted later. |
| **FuturePlanner**#*for* | Carbon | Future | Set the date for when the attributes should be persisted. |
| **FuturePlanner**#*at* | Carbon | Future | Set the date for when the attributes should be persisted. |
| **FuturePlanner**#*see* | Carbon | Model | See the final result of a model for a given date. |
| **FuturePlanner**#*getPlans* | - | FutureCollection | Get all future plans for a model. |
| **FuturePlanner**#*getPlansFor* | Carbon | FutureCollection | Get all future plans for a model for the given day. |
Expand Down

0 comments on commit 6663319

Please sign in to comment.