zenstruck / schedule-bundle

Schedule Cron jobs (commands/callbacks/bash scripts) within your Symfony application.
MIT License
387 stars 20 forks source link

Check if kernel definition is null #22

Closed encreinformatique closed 4 years ago

encreinformatique commented 4 years ago

In Symfony 3.x installation, it might generate the error Class not exit.

Checking if the getClass() method returns null solves the problem.

kbond commented 4 years ago

Thanks @encreinformatique!