File "controller.nested.singleton.api.stub"
Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Console/stubs/controller.nested.singleton.api.stub
File size: 896 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace {{ namespace }};
use {{ namespacedModel }};
use {{ rootNamespace }}Http\Controllers\Controller;
use Illuminate\Http\Request;
use {{ namespacedParentModel }};
class {{ class }} extends Controller
{
/**
* Store the newly created resource in storage.
*/
public function store(Request $request, {{ parentModel }} ${{ parentModelVariable }}): never
{
abort(404);
}
/**
* Display the resource.
*/
public function show({{ parentModel }} ${{ parentModelVariable }})
{
//
}
/**
* Update the resource in storage.
*/
public function update(Request $request, {{ parentModel }} ${{ parentModelVariable }})
{
//
}
/**
* Remove the resource from storage.
*/
public function destroy({{ parentModel }} ${{ parentModelVariable }}): never
{
abort(404);
}
}