public function postPagesSnapshotsAction()
    {
        $sites = $this->siteManager->findAll();

        foreach ($sites as $site) {
            $this->backend->createAndPublish('sonata.page.create_snapshot', [
                'siteId' => $site->getId(),
            ]);
        }

        return ['queued' => true];
    }