- Apis\Api
- Apis\ApiList\ApiListApi
- Core\Apis\ApiList
- Apis\ApiList\ApiListApi
class Core\Apis \ ApiList
List all discovered APIs, ordered by endpoint.
Method Summary
Name | Description |
---|---|
getAPIs() | This can be controlled e.g. with component-discovery |
getEndpoint() | |
getHash($arguments) | |
sortByEndpoint($a, $b) |
Inherited Method Summary
Name | Description |
---|---|
getJSON($arguments) | Compile the JSON with the given arguments, as parsed from the #getEndpoint() string. (from ApiListApi) |
render($arguments) |
Try and get the JSON result for this API, and return either {success: true: result: $json} or {success: false, error: $message} if an exception occured. (from Api)
|
public function getAPIs()
This can be controlled e.g. with component-discovery (from getAPIs)
- Overrides:
- getAPIs()
- Returns:
a list of all Api instances that we will iterate over
public function getEndpoint()
- Overrides:
- getEndpoint()
- Returns:
e.g. "/api/v1/currency/:currency"