lines = new ArrayCollection(); } public function getRef(): string { return $this->ref; } public function setRef(string $ref): self { $this->ref = $ref; return $this; } public function getSocId(): int { return $this->socId; } public function setSocId(int $socId): self { $this->socId = $socId; return $this; } public function getLines(): Collection { return $this->lines; } public function addLine(DolibarrContractLine $line): self { $this->lines[] = $line; return $this; } public function removeBill(DolibarrContractLine $line): self { $this->lines->removeElement($line); return $this; } }