balanceLines = new Collection; } /** * @param BalanceLine $line */ public function addBalanceLine(BalanceLine $line) { $this->balanceLines->push($line); } /** * @return BalanceHeader */ public function getBalanceHeader(): BalanceHeader { return $this->balanceHeader ?? new BalanceHeader; } /** * @param BalanceHeader $balanceHeader */ public function setBalanceHeader(BalanceHeader $balanceHeader) { $this->balanceHeader = $balanceHeader; } /** * @return Collection */ public function getBalanceLines(): Collection { return $this->balanceLines; } /** * @param Collection $balanceLines */ public function setBalanceLines(Collection $balanceLines) { $this->balanceLines = $balanceLines; } }