改名
This commit is contained in:
@@ -297,7 +297,6 @@ class ActiveRecord extends BaseActiveRecord
|
||||
{
|
||||
$relates = [];
|
||||
if (empty($with = $this->getWith())) {
|
||||
var_dump($with);
|
||||
return $relates;
|
||||
}
|
||||
foreach ($with as $val) {
|
||||
@@ -314,6 +313,7 @@ class ActiveRecord extends BaseActiveRecord
|
||||
public function setWith($data): static
|
||||
{
|
||||
$this->_with = $data;
|
||||
var_dump(get_called_class(), $this->_with);
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -323,6 +323,7 @@ class ActiveRecord extends BaseActiveRecord
|
||||
*/
|
||||
public function getWith(): array|null
|
||||
{
|
||||
var_dump(get_called_class(), $this->_with);
|
||||
return $this->_with;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user