File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 12
12
class GenerateContextCommand extends Command
13
13
{
14
14
protected static $ defaultName = 'thedevopser:generate:context ' ;
15
+ protected static $ defaultDescription = 'Génère une structure de dossiers pour un contexte métier ' ;
16
+
15
17
private string $ projectDir ;
16
18
private Filesystem $ filesystem ;
17
19
18
20
public function __construct (KernelInterface $ kernel )
19
21
{
20
- parent ::__construct ();
21
22
$ this ->projectDir = $ kernel ->getProjectDir ();
22
23
$ this ->filesystem = new Filesystem ();
24
+ parent ::__construct (self ::$ defaultName );
23
25
}
24
26
25
27
protected function configure (): void
26
28
{
27
29
$ this
28
- ->setDescription (' Génère une structure de dossiers pour un contexte métier ' )
30
+ ->setDescription (self :: $ defaultDescription )
29
31
->addArgument (
30
32
'context ' ,
31
33
InputArgument::REQUIRED ,
You can’t perform that action at this time.
0 commit comments