main

filamentphp/demo

Last updated at: 29/12/2023 09:42

Controller.php

TLDR

This file contains a class Controller that extends the BaseController class. It also uses multiple traits for different purposes.

Classes

Controller

The Controller class extends the BaseController and uses several traits.

<?php

namespace App\Http\Controllers;

use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;

class Controller extends BaseController
{
    use AuthorizesRequests;
    use DispatchesJobs;
    use ValidatesRequests;
}