products = new ArrayCollection(); } public function getId() { return $this->id; } public function getDescription() { return $this->description; } public function setDescription($description) { $this->description = $description; } public function setCreated(DateTime $created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setStatus($status) { $this->status = $status; } public function getStatus() { return $this->status; } public function setEngineer($engineer) { $engineer->assignedToBug($this); $this->engineer = $engineer; } public function setReporter($reporter) { $reporter->addReportedBug($this); $this->reporter = $reporter; } public function getEngineer() { return $this->engineer; } public function getReporter() { return $this->reporter; } public function assignToProduct($product) { $this->products[] = $product; } public function getProducts() { return $this->products; } public function close() { $this->status = "CLOSE"; } }