您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
571B

  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\Site;
  3. use Lc\CaracoleBundle\Controller\AdminControllerTrait;
  4. use Lc\SovBundle\Controller\Site\PageAdminController as SovPageAdminController;
  5. abstract class PageAdminController extends SovPageAdminController
  6. {
  7. use AdminControllerTrait;
  8. public function createEntity(string $entityFqcn)
  9. {
  10. return $this->getPageContainer()
  11. ->getFactory()
  12. ->setMerchant($this->getMerchantCurrent())
  13. ->setSection($this->getSectionCurrent())
  14. ->create();
  15. }
  16. }