瀏覽代碼

ControllerTrait

packProduct
Guillaume 3 年之前
父節點
當前提交
7e99858740
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      Controller/ControllerTrait.php

+ 5
- 0
Controller/ControllerTrait.php 查看文件

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

Loading…
取消
儲存