Skip to content

Checking the event if exists first

Choose a tag to compare

@yakari007 yakari007 released this 19 May 15:24
· 68 commits to master since this release
d4f4b6f

Check class_exists() before dispatching — if the callback class is not loaded in the current project, log a warning and skip instead of throwing. Also removed the unused new $job($model) instantiation (dead code) and widened the catch to \Throwable so PHP Errors are also caught.