src/AdminBundle/Admin/Ticket/TicketPlanerAdmin.php line 8

Open in your IDE?
  1. <?php
  2. namespace AdminBundle\Admin\Ticket;
  3. use AdminBundle\Admin\BaseAdmin;
  4. use Sonata\AdminBundle\Route\RouteCollectionInterface;
  5. class TicketPlanerAdmin extends BaseAdmin
  6. {
  7.     protected $baseRouteName 'ticket-planer';
  8.     protected $baseRoutePattern 'ticket-planer-action';
  9.     protected function configureRoutes(RouteCollectionInterface $collection): void
  10.     {
  11.         $collection->remove('create');
  12.     }
  13.     protected function configure(): void
  14.     {
  15.         parent::configure(); // TODO: Change the autogenerated stub
  16.         $this->setTemplate('list''@Admin\CRUD\Ticket\ticket-planer.html.twig');
  17.     }
  18. }