PHP Classes

File: routes/api.php

Recommend this page to a friend!
  Classes of Ujah Chigozie peter   Luminova Framework   routes/api.php   Download  
File: routes/api.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Luminova Framework
PHP Luminova framework: simple, powerful MVC/HMVC.
Author: By
Last change: New update and changes
Date: 1 month ago
Size: 483 bytes
 

Contents

Class file image Download
<?php
/**
 * This file handles all URI that start with `api` (e.g, https://example.com/api)
 *
 * The following global variables are available in the current file:
 *
 * @var \Luminova\Routing\Router $router The routing instance.
 * @var \App\Application $app The application instance that provides access to the overall application context.
 * @var string $context The name of the current routing context (this file's context).
 */

$router->post('/info', 'RestController::info');