balanceEntries = new Collection; } public function addBalanceEntry(BalanceEntry $balanceEntry) { $this->balanceEntries->push($balanceEntry); } /** * @return Collection */ public function getBalanceEntries() { return $this->balanceEntries; } /** * @param Collection $balanceEntries */ public function setBalanceEntries($balanceEntries) { $this->balanceEntries = $balanceEntries; } /** * @return BudgetModel */ public function getBudget() { return $this->budget; } /** * @param BudgetModel $budget */ public function setBudget($budget) { $this->budget = $budget; } }