How to generate an API singleton resource controller in Laravel

php artisan make:controller ProfileController --singleton --api
Route::apiSingleton('profile', ProfileController::class);