adrema/app/Home/HomeServiceProvider.php

28 lines
429 B
PHP

<?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()
{
}
}