engineers = new \Doctrine\Common\Collections\ArrayCollection; } public function getId() { return $this->id; } public function markCompleted() { $this->completed = true; } public function isCompleted() { return $this->completed; } public function getSalesPerson() { return $this->salesPerson; } public function setSalesPerson(CompanyEmployee $salesPerson) { $this->salesPerson = $salesPerson; } public function getEngineers() { return $this->engineers; } public function addEngineer(CompanyEmployee $engineer) { $this->engineers[] = $engineer; } public function removeEngineer(CompanyEmployee $engineer) { $this->engineers->removeElement($engineer); } abstract public function calculatePrice(); }