attributes['groups'])) { $this->attributes['groups'] = $this->relations['groups'] = Group::where('id', Group::GUEST_ID)->get(); } return $this->attributes['groups']; } /** * Check whether or not the user is a guest. * * @return boolean */ public function guest() { return true; } }