From 761b34657b5c4a0195906c1fdaff66a4d5c8ecc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 4 Mar 2021 15:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/ActiveRecord.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index be5ab50f..2033a6b4 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -296,7 +296,6 @@ class ActiveRecord extends BaseActiveRecord private function runRelate(): array { $relates = []; - var_dump($this); if (empty($this->_with)) { return $relates; } @@ -315,6 +314,9 @@ class ActiveRecord extends BaseActiveRecord */ public function setWith($data): static { + echo '--------------->' . PHP_EOL; + var_dump($this->_with, get_called_class()); + echo '<---------------' . PHP_EOL; if (empty($data)) { return $this; }