|
|
@ -51,6 +51,7 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
* Store a newly created {$this->single_model_var_name} in storage. |
|
|
* Store a newly created {$this->single_model_var_name} in storage. |
|
|
* |
|
|
* |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function store(Request \$request) |
|
|
public function store(Request \$request) |
|
|
@ -74,6 +75,7 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
* Display the specified {$this->single_model_var_name}. |
|
|
* Display the specified {$this->single_model_var_name}. |
|
|
* |
|
|
* |
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function show({$this->model_name} \${$this->single_model_var_name}) |
|
|
public function show({$this->model_name} \${$this->single_model_var_name}) |
|
|
@ -85,6 +87,7 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
* Show the form for editing the specified {$this->single_model_var_name}. |
|
|
* Show the form for editing the specified {$this->single_model_var_name}. |
|
|
* |
|
|
* |
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function edit({$this->model_name} \${$this->single_model_var_name}) |
|
|
public function edit({$this->model_name} \${$this->single_model_var_name}) |
|
|
@ -99,6 +102,7 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
* |
|
|
* |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function update(Request \$request, {$this->model_name} \${$this->single_model_var_name}) |
|
|
public function update(Request \$request, {$this->model_name} \${$this->single_model_var_name}) |
|
|
@ -119,6 +123,7 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
* Remove the specified {$this->single_model_var_name} from storage. |
|
|
* Remove the specified {$this->single_model_var_name} from storage. |
|
|
* |
|
|
* |
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function destroy({$this->model_name} \${$this->single_model_var_name}) |
|
|
public function destroy({$this->model_name} \${$this->single_model_var_name}) |
|
|
@ -187,6 +192,7 @@ class CategoriesController extends Controller |
|
|
* Store a newly created category in storage. |
|
|
* Store a newly created category in storage. |
|
|
* |
|
|
* |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function store(Request \$request) |
|
|
public function store(Request \$request) |
|
|
@ -210,6 +216,7 @@ class CategoriesController extends Controller |
|
|
* Display the specified category. |
|
|
* Display the specified category. |
|
|
* |
|
|
* |
|
|
* @param \App\Category \$category |
|
|
* @param \App\Category \$category |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function show(Category \$category) |
|
|
public function show(Category \$category) |
|
|
@ -221,6 +228,7 @@ class CategoriesController extends Controller |
|
|
* Show the form for editing the specified category. |
|
|
* Show the form for editing the specified category. |
|
|
* |
|
|
* |
|
|
* @param \App\Category \$category |
|
|
* @param \App\Category \$category |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function edit(Category \$category) |
|
|
public function edit(Category \$category) |
|
|
@ -235,6 +243,7 @@ class CategoriesController extends Controller |
|
|
* |
|
|
* |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \App\Entities\References\Category \$category |
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function update(Request \$request, Category \$category) |
|
|
public function update(Request \$request, Category \$category) |
|
|
@ -255,6 +264,7 @@ class CategoriesController extends Controller |
|
|
* Remove the specified category from storage. |
|
|
* Remove the specified category from storage. |
|
|
* |
|
|
* |
|
|
* @param \App\Entities\References\Category \$category |
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function destroy(Category \$category) |
|
|
public function destroy(Category \$category) |
|
|
@ -324,6 +334,7 @@ class CategoriesController extends Controller |
|
|
* Store a newly created category in storage. |
|
|
* Store a newly created category in storage. |
|
|
* |
|
|
* |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function store(Request \$request) |
|
|
public function store(Request \$request) |
|
|
@ -347,6 +358,7 @@ class CategoriesController extends Controller |
|
|
* Display the specified category. |
|
|
* Display the specified category. |
|
|
* |
|
|
* |
|
|
* @param \App\Category \$category |
|
|
* @param \App\Category \$category |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function show(Category \$category) |
|
|
public function show(Category \$category) |
|
|
@ -358,6 +370,7 @@ class CategoriesController extends Controller |
|
|
* Show the form for editing the specified category. |
|
|
* Show the form for editing the specified category. |
|
|
* |
|
|
* |
|
|
* @param \App\Category \$category |
|
|
* @param \App\Category \$category |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function edit(Category \$category) |
|
|
public function edit(Category \$category) |
|
|
@ -372,6 +385,7 @@ class CategoriesController extends Controller |
|
|
* |
|
|
* |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \Illuminate\Http\Request \$request |
|
|
* @param \App\Entities\References\Category \$category |
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function update(Request \$request, Category \$category) |
|
|
public function update(Request \$request, Category \$category) |
|
|
@ -392,6 +406,7 @@ class CategoriesController extends Controller |
|
|
* Remove the specified category from storage. |
|
|
* Remove the specified category from storage. |
|
|
* |
|
|
* |
|
|
* @param \App\Entities\References\Category \$category |
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
|
|
* |
|
|
* @return \Illuminate\Http\Response |
|
|
* @return \Illuminate\Http\Response |
|
|
*/ |
|
|
*/ |
|
|
public function destroy(Category \$category) |
|
|
public function destroy(Category \$category) |
|
|
|