File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1212class GenerateContextCommand extends Command
1313{
1414 protected static $ defaultName = 'thedevopser:generate:context ' ;
15+ protected static $ defaultDescription = 'Génère une structure de dossiers pour un contexte métier ' ;
16+
1517 private string $ projectDir ;
1618 private Filesystem $ filesystem ;
1719
1820 public function __construct (KernelInterface $ kernel )
1921 {
20- parent ::__construct ();
2122 $ this ->projectDir = $ kernel ->getProjectDir ();
2223 $ this ->filesystem = new Filesystem ();
24+ parent ::__construct (self ::$ defaultName );
2325 }
2426
2527 protected function configure (): void
2628 {
2729 $ this
28- ->setDescription (' Génère une structure de dossiers pour un contexte métier ' )
30+ ->setDescription (self :: $ defaultDescription )
2931 ->addArgument (
3032 'context ' ,
3133 InputArgument::REQUIRED ,
You can’t perform that action at this time.
0 commit comments