From b2aaffee7c3a0a88f8b107dec7c747b1a17e17d7 Mon Sep 17 00:00:00 2001 From: MetalGuardian <imetalguardi@gmail.com> Date: Wed, 9 Apr 2014 15:47:49 +0300 Subject: [PATCH] Update model.md --- docs/guide/model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/model.md b/docs/guide/model.md index bb2a444..4a18655 100644 --- a/docs/guide/model.md +++ b/docs/guide/model.md @@ -311,7 +311,7 @@ $attributes = [ 'content' => 'Never allow assigning attributes that are not meant to be assigned.', ]; $post->attributes = $attributes; -var_dump($attributes); +var_dump($post->attributes); ``` In the code above we're assigning corresponding data to model attributes named as array keys. The key difference from mass -- libgit2 0.27.1