PHP Classes

File: www/Config/Supplement/Private/CustomerDB/Groups/UserGroup/POST/SupplementTest.php

Recommend this page to a friend!
  Packages of Ramesh Narayan Jangid (Sharma)   PHP Microservices Framework   www/Config/Supplement/Private/CustomerDB/Groups/UserGroup/POST/SupplementTest.php   Download  
File: www/Config/Supplement/Private/CustomerDB/Groups/UserGroup/POST/SupplementTest.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: PHP Microservices Framework
Setup microservices apps with configuration arrays
Author: By
Last change:
Date: 3 months ago
Size: 1,301 bytes
 

Contents

Class file image Download
<?php

/**
 * API Query config
 * php version 8.3
 * 
 * @category  API_Query_Config
 * @package   Microservices
 * @author    Ramesh N. Jangid (Sharma) <polygon.co.in@gmail.com>
 * @copyright © 2026 Ramesh N. Jangid (Sharma)
 * @license   MIT https://opensource.org/license/mit
 * @link      https://github.com/polygoncoin/Microservices
 * @since     Class available since Release 1.0.0
 */

use Microservices\App\Constant;
use Microservices\App\DatabaseServerDataType;
use Microservices\App\Env;
use Microservices\DatabaseTable;

return [
    // detail of data to perform task
    '__PAYLOAD__' => [
        [
            'column' => 'id',
            'activeRequestDataKey' => 'payload',
            'activeRequestDataKeySubKey' => 'payload-id-1',
        ],
        [
            'column' => 'column-1',
            'activeRequestDataKey' => 'payload',
            'activeRequestDataKeySubKey' => 'payload-param-1',
        ],
    ],
    '__SUB-CONFIG__' => [
        'sub' => [
            '__PAYLOAD__' => [
                [
                    'column' => 'sub-id',
                    'activeRequestDataKey' => 'payload',
                    'activeRequestDataKeySubKey' => 'sub-payload-id-1',
                ],
                [
                    'column' => 'sub-column-1',
                    'activeRequestDataKey' => 'payload',
                    'activeRequestDataKeySubKey' => 'sub-payload-param-1',
                ],
            ],
        ]
    ],
    '__PRE-CONFIG-HOOK__' => [
        'Hook_Example',
    ],

    '__HIERARCHY__' => Constant::$TRUE
];