is not invokable. code example
Example: is not invokable.
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function __invoke(Request $request)
{
return "Welcome to our homepage"
}
}