Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
26 | 2 | protected function execute(InputInterface $input, OutputInterface $output) |
|
27 | { |
||
28 | /** @var AccessTokenServiceInterface $accessTokenService */ |
||
29 | 2 | $accessTokenService = $this->getContainer()->get('ddr_rest.service.access_token'); |
|
30 | 2 | $numTokensRemoved = $accessTokenService->cleanUpExpiredTokens(); |
|
31 | 2 | $output->writeln($numTokensRemoved . ' tokens removed'); |
|
32 | 2 | } |
|
33 | } |
||
34 |