VehicleOfficeController extends Controller
Table of Contents
- $repo : mixed
- __construct() : mixed
- delete() : string
- deleteChild() : string
- deleteCustom() : string
- destroy() : string
- index() : string
- indexByState() : mixed
- indexChild() : string
- indexCustom() : string
- publicIndex() : string
- publicIndexByState() : mixed
- publicShow() : string
- publicStore() : string
- show() : string
- showChild() : string
- showCustom() : string
- store() : string
- storeChild() : string
- storeCustom() : string
- update() : string
- updateChild() : string
- updateCustom() : string
- handleExceptions() : mixed
Properties
$repo
protected
mixed
$repo
Methods
__construct()
public
__construct(VehicleOffice $model) : mixed
Parameters
- $model : VehicleOffice
Return values
mixed —delete()
public
delete(Request $request, int $id) : string
Parameters
- $request : Request
- $id : int
-
- Id of the object that we want to remove.
Tags
Return values
string —deleteChild()
public
deleteChild(Request $request, int $parent_id, int $id) : string
Parameters
- $request : Request
-
- Has the delete confirm field.
- $parent_id : int
-
- Id of the parent object that we want to delete.
- $id : int
-
- Id of the object that we want to delete.
Tags
Return values
string —deleteCustom()
public
deleteCustom(Request $request, mixed ...$params) : string
Parameters
- $request : Request
-
- Has the delete confirm field.
- $params : mixed
Tags
Return values
string —destroy()
public
destroy(Request $request, int $id) : string
Parameters
- $request : Request
- $id : int
-
- Id of the object that we want to remove.
Tags
Return values
string —index()
public
index() : string
Tags
Return values
string —indexByState()
public
indexByState(Request $request, mixed $agency_id, mixed $state_id) : mixed
Parameters
- $request : Request
- $agency_id : mixed
- $state_id : mixed
Return values
mixed —indexChild()
public
indexChild(int $parent_id) : string
Parameters
- $parent_id : int
-
- Id of the parent objects that we want to get.
Tags
Return values
string —indexCustom()
public
indexCustom(Request $request, mixed ...$params) : string
Parameters
- $request : Request
- $params : mixed
Tags
Return values
string —publicIndex()
public
publicIndex(Request $request) : string
Parameters
- $request : Request
Tags
Return values
string —publicIndexByState()
public
publicIndexByState(Request $request, mixed $state_id) : mixed
Parameters
- $request : Request
- $state_id : mixed
Return values
mixed —publicShow()
public
publicShow(Request $request, mixed $uuid) : string
Parameters
- $request : Request
- $uuid : mixed
Tags
Return values
string —publicStore()
public
publicStore(Request $request) : string
Parameters
- $request : Request
-
- Data of the object that we want to create.
Tags
Return values
string —show()
public
show(array<string|int, mixed> $id) : string
Parameters
- $id : array<string|int, mixed>
-
- Id of the item to get.
Tags
Return values
string —showChild()
public
showChild(int $parent_id, array<string|int, mixed> $id) : string
Parameters
- $parent_id : int
-
- Id of the parent object that we want to get.
- $id : array<string|int, mixed>
-
- Id of the item to get.
Tags
Return values
string —showCustom()
public
showCustom(Request $request, mixed ...$params) : string
Parameters
- $request : Request
- $params : mixed
Tags
Return values
string —store()
public
store(Request $request) : string
Parameters
- $request : Request
-
- Data of the object that we want to create.
Tags
Return values
string —storeChild()
public
storeChild(Request $request, int $parent_id) : string
Parameters
- $request : Request
-
- Data of the object that we want to create.
- $parent_id : int
-
- Id of the parent object that we want to create.
Tags
Return values
string —storeCustom()
public
storeCustom(Request $request, mixed ...$params) : string
Parameters
- $request : Request
-
- Data of the object that we want to create.
- $params : mixed
Tags
Return values
string —update()
public
update(Request $request, int $id) : string
Parameters
- $request : Request
-
- Datas of the object that we want to update.
- $id : int
-
- Id of the object that we want to update.
Tags
Return values
string —updateChild()
public
updateChild(Request $request, int $parent_id, int $id) : string
Parameters
- $request : Request
-
- Datas of the object that we want to update.
- $parent_id : int
-
- Id of the parent object that we want to update.
- $id : int
-
- Id of the object that we want to update.
Tags
Return values
string —updateCustom()
public
updateCustom(Request $request, mixed ...$params) : string
Parameters
- $request : Request
-
- Datas of the object that we want to update.
- $params : mixed
Tags
Return values
string —handleExceptions()
protected
handleExceptions(mixed $e) : mixed
Parameters
- $e : mixed