public function __construct() { parent::__construct(); $this->roles = new ArrayCollection(); //$this->salt = sha1(uniqid(null, true)); //only without bcrypt necessary $this->activate(); }
protected function __construct() { $this->servicePlans = new ArrayCollection(); $this->companyOwned = true; // default value parent::__construct(); }
protected function __construct() { parent::__construct(); $this->vehicles = new ArrayCollection(); $this->amountOfSeats = 0; $this->amountOfWheelChairs = 0; $this->sortOrder = 0; }
protected function __construct() { parent::__construct(); }
protected function __construct() { parent::__construct(); $this->vehicles = new ArrayCollection(); }
protected function __construct() { $this->repeatedDrivingAssertions = new ArrayCollection(); $this->drivingAssertions = new ArrayCollection(); parent::__construct(); }
public function __construct() { parent::__construct(); }
protected function __construct() { $this->pois = new ArrayCollection(); parent::__construct(); }
protected function __construct() { $this->workingDays = new ArrayCollection(); parent::__construct(); }
/** * @param $gender * @param $firstname * @param $lastname * @param $telephone * @param Address $address * @param null $title * @param null $email * @param null $entryDate * @param null $birthday * @param null $extraMinutes * @param null $details * @param bool $isAuthorizedToRide * @param null $fax */ protected function __construct($gender, $firstname, $lastname, $telephone, Address $address, $title = null, $email = null, $entryDate = null, $birthday = null, $extraMinutes = null, $details = null, $isAuthorizedToRide = true, $fax = null) { $this->absents = new ArrayCollection(); $this->contradictVehicleCategories = new ArrayCollection(); $this->personCategories = new ArrayCollection(); $this->setGender($gender); $this->setFirstname($firstname); $this->setLastname($lastname); $this->setTelephone($telephone); $this->setAddress($address); $this->setTitle($title); $this->setEmail($email); $this->setEntryDate($entryDate); $this->setBirthday($birthday); $this->setExtraMinutes($extraMinutes); $this->setDetails($details); $this->setisAuthorizedToRide($isAuthorizedToRide); $this->setFax($fax); parent::__construct(); }