<?php

namespace App\Http\Controllers;

use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController; // <--- THIS IS THE CRUCIAL IMPORT

abstract class Controller extends BaseController // <--- THIS IS THE CRUCIAL EXTENSION
{
    use AuthorizesRequests, ValidatesRequests;
}