Query类的options方法改为protected 不对外调用

This commit is contained in:
thinkphp
2016-04-27 17:05:04 +08:00
parent 0b104d2b49
commit 7599d76864

View File

@@ -949,11 +949,11 @@ class Query
/** /**
* 查询参数赋值 * 查询参数赋值
* @access public * @access protected
* @param array $options 表达式参数 * @param array $options 表达式参数
* @return $this * @return $this
*/ */
public function options(array $options) protected function options(array $options)
{ {
$this->options = $options; $this->options = $options;
return $this; return $this;