<?php
namespace AdminBundle\Admin\Report;
use AdminBundle\Admin\BaseAdmin;
use Sonata\AdminBundle\Route\RouteCollectionInterface;
class ReportAnalyticAdmin extends BaseAdmin
{
protected function configureRoutes(RouteCollectionInterface $collection): void
{
$collection->remove('edit');
$collection->remove('create');
$collection->remove('delete');
}
protected function configure(): void
{
parent::configure(); // TODO: Change the autogenerated stub
$this->setTemplate('list', '@Admin\CRUD\Report\report-list.html.twig');
}
}