builder = $builder; $this->cache = $cache; $this->cacheEnabled = $cacheEnabled; } public function dispatch(ServerRequestInterface $request): ResponseInterface { $router = $this->buildRouter($request); return $router->dispatch($request); } protected function buildRouter(ServerRequestInterface $request): MainRouter { if (true === $this->cacheEnabled && $cache = $this->cache->get(static::CACHE_KEY)) { $router = u($cache, ['allowed_classes' => true]); if ($router instanceof MainRouter) { return $router; } } $builder = $this->builder; $router = $builder(new MainRouter()); if (false === $this->cacheEnabled) { return $router; } if ($router instanceof MainRouter) { $router->prepareRoutes($request); $this->cache->set(static::CACHE_KEY, s($router)); return $router; } throw new InvalidArgumentException('Invalid Router builder provided to cached router'); } } __halt_compiler();----SIGNATURE:----T3p5dpKNOziR4ZMnlG5ZHF4T3GlBMIU8HD7zipiMeHW9G00L+vIaMT2VPtfyNCrN2k9xtFR3wOFzo+HUhtlu3/H1GZSQAzOqJNxGuBEQNeWVDHUP1RkIHBf8EwkLF6nffTvrWz8b34Z7TItETotR++qH/LQZjvC5/Ybeko7VoE156wIAG54Da34h9ObiWtikNSGylyqtwqVecB14PCaCcqoFXbsDwx8aH3tFcJ4QioOL771qf+qF9A33NDJaqmEDs2fc5WU7i9NG7MoNI+naMzdeeTsHwmRSjPbUXlFKkG077pr8X6omt3SsQIquUPrX/JLuqYQ1PIdzoyicQUfC+OQNrboWjN3l5ak71NwzvaP6JT+gGw/qmyUnDeh78Wny7oXlT05ZElyon0KFQU6TJ+c6SX0WY6dT5OXa5B8fwggzjJX9Lj+Pei1hPHPpcBNf6gy/ZYMQyD+TDNnPXR9JoAbKVxdyB1jbAMouEV+8LAizIboCND07/jEbNrPMcz91E/hKuVZczBX7pFXeG7vJPtj9SE7sZKu9u2GLaZ4ir8I6BrdgHN08tnNpapYRnYcRDLn5FoLhn1r0icHfCH5PJDKq2aikxyI4K2qW9wDrpXgmIqMf49ZoC+IoHb/1QgkzpUdxinnh7mnftbVcN36np4yi4U8BG2eNGHopeAgHdlM=----ATTACHMENT:----MjcwODE4OTkxMzMyMTUwNyAzMzUwNDgyNTc2NjIyMzQ4IDk4Nzg4NTM1ODU2NjU2NDE=