This commit is contained in:
xl
2024-07-08 10:58:52 +08:00
parent ed22201bef
commit ce12b9d921
+14
View File
@@ -63,6 +63,20 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
}
/**
* @param string $name
* @return mixed
* @throws Exception
*/
public function __get(string $name)
{
if (property_exists($this, $name)) {
return $this->$name;
}
return parent::__get($name); // TODO: Change the autogenerated stub
}
/**
* @param string $column
* @param callable $callable