return $this->get(SectionResolver::class)->getCurrent(); | return $this->get(SectionResolver::class)->getCurrent(); | ||||
} | } | ||||
public function getSectionCurrentSlug(): string | |||||
{ | |||||
return $this->getSectionCurrent()->getSlug(); | |||||
} | |||||
public function getCartCurrent(): OrderShopInterface | public function getCartCurrent(): OrderShopInterface | ||||
{ | { | ||||
return $this->getOrderShopContainer()->getBuilder()->createIfNotExist( | return $this->getOrderShopContainer()->getBuilder()->createIfNotExist( |