API
in package
API hooks
Table of Contents
Properties
- $test : mixed
Methods
- __construct() : mixed
- getCategory() : array<string|int, mixed>
- Return one or more resources of a category requested by category id
Properties
$test
public
mixed
$test
= 'TEST'
Methods
__construct()
public
__construct() : mixed
getCategory()
Return one or more resources of a category requested by category id
public
getCategory() : array<string|int, mixed>
SHOULD be called with a GET HTTP request, but POST is also valid.
Return values
array<string|int, mixed> —[ rid1 => "Resource formatted 1", rid2 => "Resource formatted 2", ]