|
|
|
@ -50,7 +50,8 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
|
/** |
|
|
|
* 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 |
|
|
|
*/ |
|
|
|
public function store(Request \$request) |
|
|
|
@ -73,7 +74,8 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
|
/** |
|
|
|
* 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 |
|
|
|
*/ |
|
|
|
public function show({$this->model_name} \${$this->single_model_var_name}) |
|
|
|
@ -84,7 +86,8 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
|
/** |
|
|
|
* 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 |
|
|
|
*/ |
|
|
|
public function edit({$this->model_name} \${$this->single_model_var_name}) |
|
|
|
@ -97,8 +100,9 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
|
/** |
|
|
|
* Update the specified {$this->single_model_var_name} in storage. |
|
|
|
* |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* @param \\{$this->full_model_name} \${$this->single_model_var_name} |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function update(Request \$request, {$this->model_name} \${$this->single_model_var_name}) |
|
|
|
@ -118,7 +122,8 @@ class {$this->plural_model_name}Controller extends Controller |
|
|
|
/** |
|
|
|
* 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 |
|
|
|
*/ |
|
|
|
public function destroy({$this->model_name} \${$this->single_model_var_name}) |
|
|
|
@ -186,7 +191,8 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Store a newly created category in storage. |
|
|
|
* |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function store(Request \$request) |
|
|
|
@ -209,7 +215,8 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Display the specified category. |
|
|
|
* |
|
|
|
* @param \App\Category \$category |
|
|
|
* @param \App\Category \$category |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function show(Category \$category) |
|
|
|
@ -220,7 +227,8 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Show the form for editing the specified category. |
|
|
|
* |
|
|
|
* @param \App\Category \$category |
|
|
|
* @param \App\Category \$category |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function edit(Category \$category) |
|
|
|
@ -233,8 +241,9 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Update the specified category in storage. |
|
|
|
* |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function update(Request \$request, Category \$category) |
|
|
|
@ -254,7 +263,8 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Remove the specified category from storage. |
|
|
|
* |
|
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function destroy(Category \$category) |
|
|
|
@ -323,7 +333,8 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Store a newly created category in storage. |
|
|
|
* |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function store(Request \$request) |
|
|
|
@ -346,7 +357,8 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Display the specified category. |
|
|
|
* |
|
|
|
* @param \App\Category \$category |
|
|
|
* @param \App\Category \$category |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function show(Category \$category) |
|
|
|
@ -357,7 +369,8 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Show the form for editing the specified category. |
|
|
|
* |
|
|
|
* @param \App\Category \$category |
|
|
|
* @param \App\Category \$category |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function edit(Category \$category) |
|
|
|
@ -370,8 +383,9 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Update the specified category in storage. |
|
|
|
* |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
* @param \Illuminate\Http\Request \$request |
|
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function update(Request \$request, Category \$category) |
|
|
|
@ -391,7 +405,8 @@ class CategoriesController extends Controller |
|
|
|
/** |
|
|
|
* Remove the specified category from storage. |
|
|
|
* |
|
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
* @param \App\Entities\References\Category \$category |
|
|
|
* |
|
|
|
* @return \Illuminate\Http\Response |
|
|
|
*/ |
|
|
|
public function destroy(Category \$category) |
|
|
|
|