Explorar el Código

ControllerTrait

packProduct
Guillaume hace 3 años
padre
commit
7e99858740
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      Controller/ControllerTrait.php

+ 5
- 0
Controller/ControllerTrait.php Ver fichero

@@ -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(

Cargando…
Cancelar
Guardar