/** * Get tags array for saving cache. * * @return array */ public function getCacheTags() { if (Auth::check()) { $this->addModelTags(Auth::user()); } return parent::getCacheTags(); }