This commit is contained in:
2021-02-23 17:30:10 +08:00
parent 31d5024663
commit 5e2cf4db18
6 changed files with 33 additions and 4 deletions
+6
View File
@@ -27,6 +27,12 @@ class CollectionIterator extends \ArrayIterator
private ActiveQuery $query;
public function clean()
{
unset($this->query);
}
/**
* CollectionIterator constructor.
* @param $model