shouldPassThrough($request)) { return $next($request); } else { return parent::handle(...func_get_args()); } } protected function urlWhitelist(): array { return array_map(function ($url) { return Admin::url($url); }, $this->urlWhitelist); } }