/** * Constructor */ public function __construct() { parent::__construct(); $this->addRole("ROLE_PROFESSOR"); $this->professors = new ArrayCollection(); $this->students = new ArrayCollection(); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->addRole("ROLE_STUDENT"); $this->professors = new ArrayCollection(); $this->repeatedLevels = new ArrayCollection(); $this->balance = 0; }