private function persistRoute(ResourceSegmentBehavior $document)
    {
        $resourceLocatorStrategy = $this->resourceLocatorStrategyPool->getStrategyByWebspaceKey(
            $this->documentInspector->getWebspace($document)
        );

        $resourceLocatorStrategy->save($document, null);
    }