Parcourir la source

fix the Explain command

Thomas Rabaix il y a 14 ans
Parent
commit
56ad599cb8
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 1
      Command/ExplainAdminCommand.php
  2. 1 0
      README.md

+ 1 - 1
Command/ExplainAdminCommand.php

@@ -67,7 +67,7 @@ class ExplainAdminCommand extends Command
 
 
         $output->writeln('');
         $output->writeln('');
         $output->writeln('<info>Form Options</info>');
         $output->writeln('<info>Form Options</info>');
-        $output->writeln(sprintf('  -  % -25s % -15s', 'validation_groups', implode('|', $admin->getForm()->getOption('validation_groups'))));
+//        $output->writeln(sprintf('  -  % -25s % -15s', 'validation_groups', implode('|', $admin->getFormBuilder()->getForm()->getOption('validation_groups'))));
         $output->writeln('');
         $output->writeln('');
 
 
         $output->writeln('<info>Form Fields</info>');
         $output->writeln('<info>Form Fields</info>');

+ 1 - 0
README.md

@@ -76,6 +76,7 @@ Features
     - side menu option
     - side menu option
     - Translated into 7 languages : DE, EN, ES, FR, NL, PL and RU.
     - Translated into 7 languages : DE, EN, ES, FR, NL, PL and RU.
     - Built to be extended
     - Built to be extended
+    - Explain command line utility
 
 
 
 
 More information
 More information