private function save(RedirectRouteInterface $entity)
    {
        $this->manager->save($entity);

        if (0 === count($this->sources) % $this->batchSize) {
            $this->entityManager->flush();
        }
    }