RestRouteCollection

  • Full name: \CEKW\WpPlugin\RestRouteCollection
  • This class implements: \IteratorAggregate
Table of contents
  1. Properties
  2. Methods
    1. getIterator
    2. add
    3. getByNamespace

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