Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | protected function execute(Input $input, Output $output) |
||
34 | { |
||
35 | $file = new PhpFile(); |
||
36 | $file->addComment('Jwt 配置'); |
||
37 | $file->setStrictTypes(); |
||
38 | |||
39 | $config = config('jwt'); |
||
40 | $config['default']['signerKey'] = randomKey(); |
||
41 | $config = 'return '.Helpers::dump($config).';'; |
||
|
|||
42 | |||
43 | file_put_contents($this->app->getConfigPath().'jwt.php', $file.$config); |
||
44 | $output->writeln('> success!'); |
||
45 | } |
||
47 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.