RestRouteCollection
- Full name:
\CEKW\WpPlugin\RestRouteCollection
- This class implements:
\IteratorAggregate
Table of contents
Properties
Name | Type | Description |
---|---|---|
restRoutes | array | Â |
Methods
getIterator
RestRouteCollection::getIterator(): \ArrayIterator
Returns: \ArrayIterator
add
RestRouteCollection::add(string namespace, string route, array restRouteArgs): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
namespace | string | Â |
route | string | Â |
restRouteArgs | array | Â |
Returns: mixed
getByNamespace
RestRouteCollection::getByNamespace(string namespace): array
Parameters:
Parameter | Type | Description |
---|---|---|
namespace | string | Â |
Returns: array