更新框架至5.1.35版本

This commit is contained in:
wispx
2019-03-05 16:04:00 +08:00
parent bc6080f1cc
commit e04ea3f9e1
14 changed files with 119 additions and 273 deletions
+10
View File
@@ -437,6 +437,16 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
return $this->exists;
}
/**
* 判断模型是否为空
* @access public
* @return bool
*/
public function isEmpty()
{
return empty($this->data);
}
/**
* 保存当前数据对象
* @access public