Commit b201c396 by Alexander Makarov

Merge pull request #3040 from MetalGuardian/update-model-md

Update model.md
parents c4af1569 b2aaffee
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment