setDefaults([ 'orderBy' => 'name', ]); } /** * @return Customer|int|null */ public function getCustomer() { return $this->customer; } /** * @param Customer|int|null $customer * @return $this */ public function setCustomer($customer = null) { $this->customer = $customer; return $this; } public function getProjectStart(): ?\DateTime { return $this->projectStart; } public function setProjectStart(?\DateTime $projectStart): ProjectQuery { $this->projectStart = $projectStart; return $this; } public function getProjectEnd(): ?\DateTime { return $this->projectEnd; } public function setProjectEnd(?\DateTime $projectEnd): ProjectQuery { $this->projectEnd = $projectEnd; return $this; } }