26 lines
533 B
PHP
26 lines
533 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Controller\Admin;
|
||
|
|
||
|
use App\Entity\Offering;
|
||
|
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
||
|
|
||
|
class OfferingCrudController extends AbstractCrudController
|
||
|
{
|
||
|
public static function getEntityFqcn(): string
|
||
|
{
|
||
|
return Offering::class;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
public function configureFields(string $pageName): iterable
|
||
|
{
|
||
|
return [
|
||
|
IdField::new('id'),
|
||
|
TextField::new('title'),
|
||
|
TextEditorField::new('description'),
|
||
|
];
|
||
|
}
|
||
|
*/
|
||
|
}
|