We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3961738 commit a656581Copy full SHA for a656581
config/services.php
@@ -129,5 +129,8 @@
129
->tag('console.command')
130
131
->set(SecretsGetCommand::class)
132
+ ->args([
133
+ service('secrets.vault')
134
+ ])
135
->tag('console.command');
136
};
src/Command/SecretsGetCommand.php
@@ -14,9 +14,10 @@
14
)]
15
class SecretsGetCommand extends Command
16
{
17
- private function __construct(
+ public function __construct(
18
private AbstractVault $vault
19
){
20
+ parent::__construct();
21
}
22
23
public function configure()
0 commit comments