vendredi 22 juin 2018

What Does "use AuthorizesRequests, DispatchesJobs, ValidatesRequests; " in Laravel 5.6 Default Controller do?

What is the use of:

use AuthorizesRequests, DispatchesJobs, ValidatesRequests;

in default laravel controller.

Also, why we do it inside class when we already have:

use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2MLkV7s
via IFTTT

Aucun commentaire:

Enregistrer un commentaire