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 550B

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\ControllerTrait;
  4. use Lc\CaracoleBundle\Resolver\SectionResolver;
  5. use Lc\SovBundle\Controller\Site\PageAdminController as SovPageAdminController;
  6. abstract class PageAdminController extends SovPageAdminController
  7. {
  8. use ControllerTrait;
  9. public function createEntity(string $entityFqcn)
  10. {
  11. return $this->getPageContainer()
  12. ->getFactory()
  13. ->setSection($this->getSectionCurrent())
  14. ->create();
  15. }
  16. }