<?php http_response_code(404); die(1); // it is a template, it is protected to be called directly ?>
/** @noinspection PhpMissingFieldTypeInspection */
/** @noinspection PhpClassConstantAccessedViaChildClassInspection */
/** @noinspection ReturnTypeCanBeDeclaredInspection */
/** @noinspection PhpUnusedParameterInspection */
/** @noinspection PhpUnused */
namespace __namespaceapi__;
use __namespacerepo__\__class____classpostfix__;
use eftec\ApiAssembler\ApiAssemblerRuntime;
use Exception;
use RuntimeException;
// [EDIT:classuse] you can edit the next lines with your custom code
// [/EDIT]
/**
* class __class__ApiController
*
* @see https://github.com/EFTEC/ApiAssembler
* @package eftec
* @author Jorge Castro Castillo
* @copyright (c) Jorge Castro C. Dual Licence GPL-v3 and Commercial https://github.com/EFTEC/ApiAssembler
* @version __version__
*/
class __class__ApiController
{
/** @var ApiAssemblerRuntime */
protected $api;
public function __construct($api=null)
{
// injecting service classes.
$this->api = $api;
}
// [EDIT:classcontent] you can edit the next lines with your custom code
// [/EDIT]
__methods__
}
|