/** * Create the bibTeX "header". * * @param \Geissler\Converter\Model\Entry $entry * @return string */ private function init(Entry $entry) { $type = $this->getType($entry->getType()->getType()); $return = '@' . $type . '{'; if ($entry->getCitationLabel() !== null) { $return .= $entry->getCitationLabel(); } else { $return .= $type; } return $return; }