MyAllocator BuildToUs API PHP SDK for OTA's
  • Namespace
  • Class
  • Tree

Namespaces

  • MyAllocator
    • phpsdkota
      • src
        • Api
          • Inbound
        • Object

Classes

  • MaRouter

Interfaces

  • MaInboundInterface

Class MaRouter

Namespace: MyAllocator\phpsdkota\src\Api\Inbound
Located at Api/Inbound/MaRouter.php

Methods summary

public
# __construct( MyAllocator\phpsdkota\src\Api\Inbound\MaInboundInterface $interface )

Class contructor.

Class contructor.

Parameters

$interface
<p>The object implementing MaInboundInterface to invoke backend functionality.</p>
public array
# processRequest( string $post_body = null )

Router for inbound requests from MyAllocator.

Router for inbound requests from MyAllocator.

Receives API request, performs common functionality, and invokes method.

Parameters

$post_body
The JSON encoded post body.

Returns

array
The JSON decoded response array.

Magic methods summary

Properties summary

protected array $apis

Valid API endpoints and their required/optional arguments.

Valid API endpoints and their required/optional arguments.

# null
protected array $ota_intf

Interface to OTA backend.

Interface to OTA backend.

# null
MyAllocator BuildToUs API PHP SDK for OTA's API documentation generated by ApiGen