소스 검색

fix the Explain command

Thomas Rabaix 14 년 전
부모
커밋
56ad599cb8
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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('<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('<info>Form Fields</info>');

+ 1 - 0
README.md

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