Exemple #1
0
 /**
  * @return Collection
  */
 public function getRoles()
 {
     return Role::where('name', 'guest')->get();
 }
Exemple #2
0
 /**
  * @return \Illuminate\Support\Collection
  */
 public function getAllRoles()
 {
     return $this->roleModel->newQuery()->get();
 }