js(__DIR__.'/js/dist/forum.js'), (new Extend\Frontend('admin')) ->js(__DIR__.'/js/dist/admin.js'), new Extend\Locales(__DIR__.'/locale'), (new Extend\Event()) ->listen(Hidden::class, Listener\SubmitSpam::class) ->listen(PostWasApproved::class, Listener\SubmitHam::class) ->listen(Saving::class, Listener\ValidatePost::class), (new Extend\ServiceProvider()) ->register(AkismetProvider::class), (new Extend\Model(Post::class)) ->cast('is_spam', 'bool'), ];