/** * Add entry * * @param Entry $entry * @return Entry */ public function addEntry(Entry $entry) { $entry->setTransaction($this); $this->entries[] = $entry; return $this; }