__invoke в Ларавеле

use App\Http\Controllers\Controller;
use App\Models\User;

class ProvisionServer extends Controller
{
    /**
     * Provision a new web server.
     *
     * @return \Illuminate\Http\Response
     */
    public function __invoke()
    {
        // ...
    }
}

use App\Http\Controllers\ProvisionServer;

Route::post('/server', ProvisionServer::class);

php artisan make:controller ProvisionServer --invokable
Delightful Dove