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.

20 satır
502B

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