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); }