diff --git a/src/Base/Model.php b/src/Base/Model.php index 98f8255..b846990 100644 --- a/src/Base/Model.php +++ b/src/Base/Model.php @@ -512,7 +512,6 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T if (empty($param)) { return $this; } - var_dump($param); foreach ($this->_attributes as $key => $attribute) { $this->_attributes[$key] = $this->_setter($key, $attribute); } @@ -845,6 +844,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T public function refresh(): static { $this->_oldAttributes = $this->_attributes; + var_dump($this->_attributes); return $this; }