adrema/app/Home/HomeServiceProvider.php

28 lines
429 B
PHP
Raw Normal View History

2022-11-17 02:15:29 +01:00
<?php
namespace App\Home;
use Illuminate\Support\ServiceProvider;
class HomeServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
app()->singleton(DashboardFactory::class, fn () => new DashboardFactory());
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
}
}