private function getCmsRoutes(): array
    {
        if ($this->routes) {
            return $this->routes;
        }

        $item = $this->cache->getItem(self::PAGES_ROUTES_CACHE_KEY);

        if ($item->isHit()) {
            return $this->routes = $item->get();
        }

        $routes = $this->repository->getPagesRoutes();

        $item->set($routes);
        $this->cache->save($item);

        return $this->routes = $routes;
    }