public function __construct() { parent::__construct(); $this->setRoles([self::ROLE_CTO_USER]); $this->setBlocked(false); $this->clients = new ArrayCollection(); $this->masters = new ArrayCollection(); $this->jobs = new ArrayCollection(); }
public function __construct() { parent::__construct(); $this->setRoles([self::ROLE_ADMIN_USER, 'ROLE_ALLOWED_TO_SWITCH']); }