PHP Classes

File: src/templates/Template_class.php

Recommend this page to a friend!
  Classes of Jorge Castro   PHP API Assembler   src/templates/Template_class.php   Download  
File: src/templates/Template_class.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP API Assembler
Application to generate files to implement an API
Author: By
Last change:
Date: 9 months ago
Size: 1,214 bytes
 

Contents

Class file image Download
<?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__
}