PHP Classes

File: Config/Routes/Auth/GlobalDB/PUTroutes.php

Recommend this page to a friend!
  Classes of Ramesh Narayan Jangid (Sharma)   Open Swoole Microservices   Config/Routes/Auth/GlobalDB/PUTroutes.php   Download  
File: Config/Routes/Auth/GlobalDB/PUTroutes.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Open Swoole Microservices
Implement microservices using Open Swoole
Author: By
Last change: dataTypes for Routes
Date: 1 month ago
Size: 1,196 bytes
 

Contents

Class file image Download
<?php

/**
 * API Route config
 * php version 8.3
 *
 * @category API_Route_Config
 * @package Openswoole_Microservices
 * @author Ramesh N Jangid <[email protected]>
 * @copyright 2025 Ramesh N Jangid
 * @license MIT https://opensource.org/license/mit
 * @link https://github.com/polygoncoin/Openswoole-Microservices
 * @since Class available since Release 1.0.0
 */

namespace Microservices\Config\Routes\Auth\CommonRoutes\GlobalDB;

use
Microservices\App\Constants;
use
Microservices\App\DatabaseDataTypes;

return [
   
'group' => [
       
'{id:int}' => [
           
'dataType' => DatabaseDataTypes::$PrimaryKey,
           
'__FILE__' => Constants::$AUTH_QUERIES_DIR .
               
DIRECTORY_SEPARATOR . 'GlobalDB' .
               
DIRECTORY_SEPARATOR . 'PUT' .
               
DIRECTORY_SEPARATOR . 'groups.php',
        ],
    ],
   
'client' => [
       
'{id:int}' => [
           
'dataType' => DatabaseDataTypes::$PrimaryKey,
           
'__FILE__' => Constants::$AUTH_QUERIES_DIR .
               
DIRECTORY_SEPARATOR . 'GlobalDB' .
               
DIRECTORY_SEPARATOR . 'PUT' .
               
DIRECTORY_SEPARATOR . 'clients.php',
        ],
    ],
];