/** * Get all cached roles. * * @return \Illuminate\Database\Eloquent\Collection */ public function getCachedRoles() { return $this->cacheResults('roles.all', function () { return Role::all(); }); }