mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-05 20:44:19 +01:00
31 lines
725 B
PHP
31 lines
725 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Controller\Admin;
|
|
|
|
use App\Entity\Candidate;
|
|
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
use EasyCorp\Bundle\EasyAdminBundle\Field\IdField;
|
|
use EasyCorp\Bundle\EasyAdminBundle\Field\TextEditorField;
|
|
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
|
|
|
|
class CandidateCrudController extends AbstractCrudController
|
|
{
|
|
public static function getEntityFqcn(): string
|
|
{
|
|
return Candidate::class;
|
|
}
|
|
|
|
/*
|
|
public function configureFields(string $pageName): iterable
|
|
{
|
|
return [
|
|
IdField::new('id'),
|
|
TextField::new('title'),
|
|
TextEditorField::new('description'),
|
|
];
|
|
}
|
|
*/
|
|
}
|