. */ declare(strict_types=1); namespace FireflyIII\Http\Middleware; use Closure; use FireflyIII\Support\System\GeneratesInstallationId; use Illuminate\Http\Request; /** * * Class InstallationId */ class InstallationId { use GeneratesInstallationId; /** * Handle an incoming request. * * @param Request $request * @param Closure $next * * @return mixed * * */ public function handle($request, Closure $next) { $this->generateInstallationId(); return $next($request); } }