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