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; }
/** * @param null $name * @param null $start * @param null $end * @param null $memo */ public function updateShiftTypeData($name = null, $start = null, $end = null, $memo = null) { if (!empty($name)) { $this->setName($name); } if (!empty($start)) { $this->setStart($start); } if (!empty($end)) { $this->setEnd($end); } $this->setMemo($memo); parent::updateModifiedDate(); }
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(); }
protected function __construct() { $this->pois = new ArrayCollection(); parent::__construct(); }
/** * @param mixed $duration */ public function setDuration($duration) { $this->duration = $duration; parent::updateModifiedDate(); }
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(); }
/** * undeletes entity logically and reactivate user */ public function undeleteLogically() { parent::undeleteLogically(); $this->activate(); }