diff --git a/classes/User/ServiceProvider.php b/classes/User/ServiceProvider.php new file mode 100644 index 000000000..c2b89bd8e --- /dev/null +++ b/classes/User/ServiceProvider.php @@ -0,0 +1,38 @@ +getContainer()->add( 'user', User::class ); + } + + /** + * Returns the subscribers array + * + * @return array + */ + public function get_subscribers() { + return []; + } +} diff --git a/config/providers.php b/config/providers.php index 0a40a32a6..68c8a58cc 100644 --- a/config/providers.php +++ b/config/providers.php @@ -5,4 +5,5 @@ 'Imagify\Picture\ServiceProvider', 'Imagify\Stats\ServiceProvider', 'Imagify\Webp\ServiceProvider', + 'Imagify\User\ServiceProvider', ];