return $this->get(SectionResolver::class)->getCurrent(); | return $this->get(SectionResolver::class)->getCurrent(); | ||||
} | } | ||||
public function getSectionCurrentDefault(): ?SectionInterface | |||||
{ | |||||
return $this->get(SectionResolver::class)->getCurrent(true); | |||||
} | |||||
public function isOutOfSection() | public function isOutOfSection() | ||||
{ | { | ||||
return $this->get(SectionResolver::class)->isOutOfSection(); | return $this->get(SectionResolver::class)->isOutOfSection(); |