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