PUGXMultiUserBundle
PUGXMultiUserBundle copied to clipboard
Get user class in twig
Is there a way to get the user class in twig? Something equivalent to this
$discriminator = $this->container->get('pugx_user.manager.user_discriminator');
$class = $discriminator->getClass();
I want to change the routing depending on the user class.