thephpleague/oauth2-server-bundle

Clear Tokens with the new scheduler bundle

jp-insitaction opened this issue · 0 comments

Hello,

I'm trying to set up a recurring task with the new Symfony Scheduler bundle, to do this, I need to add this attribute to the command.

#[AsPeriodicTask('2 days', schedule: 'default')]

It's impossible to create a command that extends the "ClearExpiredTokensCommand" command, as the class is final.
Is it possible to make this class non-final?