改名
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user