示例#1
0
文件: Role.php 项目: pongocms/cms
 /**
  * [scopeEditor description]
  * @param  [type] $query [description]
  * @return [type]        [description]
  */
 public function scopeEditor($query)
 {
     return $query->where('level', '>=', \Access::levelEditor());
 }