Open walemos opened 9 years ago
I asked myself the same question no so long ago. I couldn't. So I used that code :
$discriminator = $this->container->get('pugx_user.manager.user_discriminator');
if($discriminator->getClass() == 'UserBundle\Entity\Utilisateur'){
} else { ... }
How access the variable type created in this bundle?
/**