File tree 1 file changed +18
-4
lines changed
src/Symfony/Component/Dotenv/Command
1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 30
30
#[AsCommand(name: 'debug:dotenv ' , description: 'List all dotenv files with variables and values ' )]
31
31
final class DebugCommand extends Command
32
32
{
33
- public function __construct (
34
- private string $ kernelEnvironment ,
35
- private string $ projectDirectory ,
36
- ) {
33
+ /**
34
+ * @deprecated since Symfony 6.1
35
+ */
36
+ protected static $ defaultName = 'debug:dotenv ' ;
37
+
38
+ /**
39
+ * @deprecated since Symfony 6.1
40
+ */
41
+ protected static $ defaultDescription = 'List all dotenv files with variables and values ' ;
42
+
43
+ private string $ kernelEnvironment ;
44
+ private string $ projectDirectory ;
45
+
46
+ public function __construct (string $ kernelEnvironment , string $ projectDirectory )
47
+ {
48
+ $ this ->kernelEnvironment = $ kernelEnvironment ;
49
+ $ this ->projectDirectory = $ projectDirectory ;
50
+
37
51
parent ::__construct ();
38
52
}
39
53
You can’t perform that action at this time.
0 commit comments