diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index 796adb47..83bfc46c 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -297,7 +297,6 @@ class ActiveRecord extends BaseActiveRecord { $relates = []; if (empty($with = $this->getWith())) { - var_dump($with); return $relates; } foreach ($with as $val) { @@ -314,6 +313,7 @@ class ActiveRecord extends BaseActiveRecord public function setWith($data): static { $this->_with = $data; + var_dump(get_called_class(), $this->_with); return $this; } @@ -323,6 +323,7 @@ class ActiveRecord extends BaseActiveRecord */ public function getWith(): array|null { + var_dump(get_called_class(), $this->_with); return $this->_with; }