NETBien.backend/stubs/controller.model.api.stub
Moisés de Jesús Cortés Castellanos 517628b92d
ADD: Plantilla Holos (#1)
2024-12-13 16:14:50 -06:00

60 lines
1005 B
Plaintext

<?php namespace {{ namespace }};
/**
* @copyright (c) 2024 Notsoweb Software (https://notsoweb.com) - All Rights Reserved
*/
use {{ namespacedModel }};
use {{ rootNamespace }}Http\Controllers\Controller;
use {{ namespacedRequests }}
use Notsoweb\ApiResponse\Enums\ApiResponse;
/**
* Descripción
*
* @author Moisés Cortés C. <moises.cortes@notsoweb.com>
*
* @version 1.0.0
*/
class {{ class }} extends Controller
{
/**
* Listar
*/
public function index()
{
//
}
/**
* Almacenar
*/
public function store({{ storeRequest }} $request)
{
//
}
/**
* Mostrar
*/
public function show({{ model }} ${{ modelVariable }})
{
//
}
/**
* Actualizar
*/
public function update({{ updateRequest }} $request, {{ model }} ${{ modelVariable }})
{
//
}
/**
* Eliminar
*/
public function destroy({{ model }} ${{ modelVariable }})
{
//
}
}