public function getName()
{
if ($this->subscription->getPublication() === null) {
return '';
}
foreach ($this->subscription->getPublication()->getIssues() as $issue) {
if ($this->hasLanguage() && $issue->getLanguage() !== $this->language) {
continue;
}
foreach ($issue->getSections() as $section) {
if ($section->getNumber() == $this->sectionNumber) {
return $section->getName();
}
}
}
return '';
}