Метод | Описание | |
---|---|---|
__construct ( |
Default Constructor | |
execute ( array $handlers = [], string $path, string $method, string $data = '', array $headers = [] ) : mixed |
public __construct ( |
||
$apiContext |
public execute ( array $handlers = [], string $path, string $method, string $data = '', array $headers = [] ) : mixed | ||
$handlers | array | Array of handlers |
$path | string | Resource path relative to base service endpoint |
$method | string | HTTP method - one of GET, POST, PUT, DELETE, PATCH etc |
$data | string | Request payload |
$headers | array | HTTP headers |
Результат | mixed |