public function toggleVisibility(CountryToggleVisibilityEvent $event, $eventName, EventDispatcherInterface $dispatcher)
    {
        $country = $event->getCountry();

        $country
            ->setDispatcher($dispatcher)
            ->setVisible(!$country->getVisible())
            ->save();

        $event->setCountry($country);
    }