diff --git a/src/Entity.php b/src/Entity.php index 4d7e2ee..822fdf7 100755 --- a/src/Entity.php +++ b/src/Entity.php @@ -130,12 +130,7 @@ public function toArray() public function fill(array $attributes) { foreach ($attributes as $key => $attribute) { - if ($this->hasSetMutator($key)) { - $method = 'set'.$this->getMutatorMethod($key); - $this->attributes[$key] = $this->$method($attribute); - } else { - $this->attributes[$key] = $attribute; - } + $this->{$key} = $attribute; } } }