Пример #1
0
 /**
  * @param \Illuminate\Contracts\Auth\Guard $guard
  *
  * @return bool|null
  */
 public function authenticate(Guard $guard)
 {
     return $guard->hasPermission($this->permission);
 }