You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PageAdminController.php 571B

3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
1234567891011121314151617181920
  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. }