Skip to content

Instantly share code, notes, and snippets.

@hongminhbka
hongminhbka / AppServiceProvider.php
Created July 26, 2018 11:05 — forked from paulund/AppServiceProvider.php
Laravel Cache Auth::user()
<?php
namespace App\Providers;
use App\Models\User;
use App\Observers\UserObserver;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{