\__MethodCaller__Call

Execute MCP

Does all the stuff

MCP-Config use

It was created to predefine some wars for API Init section. Later it will be used for captcha sense etc.

Examples

Yes, it's really comment, which is going to be parsed

// [!MCP]: {"mcp_parsed": true}

It can be accessed from `MCP_PREDEFINED` const

    $ra["mcp"] = MCP_PREDEFINED;

Summary

Methods
Properties
Constants
Init()
GetData()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
call404()
$method
$method_raw
$mcp
$filepath
N/A

Properties

$method

$method : array<mixed,string>

Type

array<mixed,string> — Method Section and Name

$method_raw

$method_raw : string

Type

string — Method in section.name format

$mcp

$mcp : array

Type

array — Parsed MCP-Config data

$filepath

$filepath : string

Type

string — Path to executable method file

Methods

Init()

Init() : array<mixed,mixed>

Init MCP

Preloads API

Returns

array<mixed,mixed> —

self::GetData() return

GetData()

GetData() : array<mixed,mixed>

Get MCP data

Get data such as method info and MCP config

Returns

array<mixed,mixed> —

MCP Info

Examples

Return array
        return [self::$method, self::$method_raw, self::$mcp, self::$filepath];

call404()

call404() : void

Send 404 error

Emulates Apache's HTTP 404 response code and terminates