Procházet zdrojové kódy

ControllerTrait

packProduct
Guillaume před 3 roky
rodič
revize
7e99858740
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. +5
    -0
      Controller/ControllerTrait.php

+ 5
- 0
Controller/ControllerTrait.php Zobrazit soubor

@@ -143,6 +143,11 @@ trait ControllerTrait
return $this->get(SectionResolver::class)->getCurrent();
}

public function getSectionCurrentSlug(): string
{
return $this->getSectionCurrent()->getSlug();
}

public function getCartCurrent(): OrderShopInterface
{
return $this->getOrderShopContainer()->getBuilder()->createIfNotExist(

Načítá se…
Zrušit
Uložit