entity = &$device; $this->isNew = $isNew; } /** * Returns the LeadDevice entity. * * @return LeadDevice */ public function getDevice() { return $this->entity; } /** * Sets the LeadDevice entity. */ public function setDevice(LeadDevice $device): void { $this->entity = $device; } }