/** * Constructor */ public function __construct() { parent::__construct(); $this->user_type = User::TYPE_PRESTATAIRE; $this->categorie = new \Doctrine\Common\Collections\ArrayCollection(); $this->addRole('role_prestataire'); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->user_type = User::TYPE_INTERNAUT; $this->addRole('role_internaut'); }