Esempio n. 1
0
 /**
  */
 public function __construct()
 {
     parent::__construct();
     $this->sites = new ArrayCollection();
     $this->addRole('ROLE_STRIPE_USER');
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     $this->setRoles(['ROLE_ADMIN']);
 }