/** * @param array $arguments * @return EntryType */ protected function getEntryType($arguments) { $entryType = $arguments['record']['entry_type'][0]; return EntryType::read($entryType); }
/** * @return EntryType */ public function getEntryType() { return EntryType::read($this->entryType); }