adrema/app/Dashboard/DashboardServiceProvider.php

28 lines
439 B
PHP

<?php
namespace App\Dashboard;
use Illuminate\Support\ServiceProvider;
class DashboardServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
app()->singleton(DashboardFactory::class, fn () => new DashboardFactory());
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
}
}