您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

24 行
553B

  1. <?php
  2. namespace Lc\PietroBundle\Controller\Territory;
  3. use Lc\PietroBundle\Model\Territory;
  4. use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
  5. use Lc\SovBundle\Controller\AbstractAdminController;
  6. abstract class TerritoryAdminController extends AbstractAdminController
  7. {
  8. public static function getEntityFqcn(): string
  9. {
  10. return Territory::class;
  11. }
  12. public function configureFields(string $pageName): iterable
  13. {
  14. return [
  15. TextField::new('devAlias'),
  16. TextField::new('name'),
  17. ];
  18. }
  19. }