thephpleague / oauth2-server-bundle

Symfony bundle for the OAuth2 Server.
MIT License
181 stars 88 forks source link

Clear Tokens with the new scheduler bundle #185

Open jp-insitaction opened 5 months ago

jp-insitaction commented 5 months ago

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?