arcos-backend/app/Providers/ObserverProvider.php
Moisés de Jesús Cortés Castellanos e487aa8726
ADD: Historial de acciones (#5)
2025-01-03 12:55:57 -06:00

35 lines
638 B
PHP

<?php namespace App\Providers;
/**
* @copyright (c) 2024 Notsoweb Software (https://notsoweb.com) - All Rights Reserved
*/
use App\Models\User;
use App\Observers\UserObserver;
use Illuminate\Support\ServiceProvider;
/**
* Observadores de la aplicación
*
* @author Moisés Cortés C. <moises.cortes@notsoweb.com>
*
* @version 1.0.0
*/
class ObserverProvider extends ServiceProvider
{
/**
* Registrar servicios
*/
public function register(): void
{
//
}
/**
* Inicializar servicios
*/
public function boot(): void
{
User::observe([UserObserver::class]);
}
}