Ejemplo n.º 1
0
 public function handle($request, Closure $next)
 {
     if (!CacheSetter::hasCache()) {
         CacheSetter::freshCache();
     }
     return $next($request);
 }
Ejemplo n.º 2
0
 public function handle(UpdateEvent $event)
 {
     CacheSetter::freshCache();
 }