nasrulhazim
4/24/2018 - 10:04 AM

Laravel Observer Configuration

Laravel Observer Configuration

<?php


return [
	/*
	|--------------------------------------------------------------------------
	| Observers
	|--------------------------------------------------------------------------
	|
	| This value is the list of models being observed by the observer class.
	| The observer will observe any events triggered by eloquent and of course,
	| to which event the observer want to listen to - created, creating, updating,
	| updated, deleting or deleted.
	|
	 */

	\App\Observers\HashidsObserver::class => [
		\App\Models\User::class,
	],
];