diff --git a/framework/core/src/Support/ServiceProvider.php b/framework/core/src/Support/ServiceProvider.php index 6de27220d..08501519f 100644 --- a/framework/core/src/Support/ServiceProvider.php +++ b/framework/core/src/Support/ServiceProvider.php @@ -38,6 +38,11 @@ class ServiceProvider extends IlluminateServiceProvider }); } + protected function formatter($name, $class, $priority = 0) + { + $this->app['flarum.formatter']->add($name, $class, $priority); + } + protected function notificationType($class, $defaultPreferences = []) { $notifier = $this->app['flarum.notifier'];