改名
This commit is contained in:
@@ -235,7 +235,6 @@ class ActiveQuery extends Component implements ISqlBuilder
|
|||||||
if (empty($this->with) || !is_array($this->with)) {
|
if (empty($this->with) || !is_array($this->with)) {
|
||||||
return $model;
|
return $model;
|
||||||
}
|
}
|
||||||
var_dump($this->with);
|
|
||||||
return $model->setWith($this->with);
|
return $model->setWith($this->with);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -158,6 +158,15 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array|null
|
||||||
|
*/
|
||||||
|
public function getWith(): array|null
|
||||||
|
{
|
||||||
|
return $this->_with;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $name
|
* @param $name
|
||||||
* @param $method
|
* @param $method
|
||||||
|
|||||||
Reference in New Issue
Block a user