From 1d1b908c2d5e901b24381e219334255a12467c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 19 Oct 2021 18:25:39 +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 --- src/ActiveQuery.php | 1 + src/Base/CollectionIterator.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ActiveQuery.php b/src/ActiveQuery.php index c0a48e2..6f4a7ce 100644 --- a/src/ActiveQuery.php +++ b/src/ActiveQuery.php @@ -223,6 +223,7 @@ class ActiveQuery extends Component implements ISqlBuilder */ public function getWith(ModelInterface $model): ModelInterface { + var_dump($this->with); if (empty($this->with) || !is_array($this->with)) { return $model; } diff --git a/src/Base/CollectionIterator.php b/src/Base/CollectionIterator.php index e2f7502..6614fc7 100644 --- a/src/Base/CollectionIterator.php +++ b/src/Base/CollectionIterator.php @@ -68,7 +68,6 @@ class CollectionIterator extends \ArrayIterator if (is_array($current = parent::current())) { $current = $this->newModel($current); } - var_dump($current); return $this->query->getWith($current); }