Method |
Description |
|
buildUrlPatternFromPattern ( string $pattern, array $parameters ) : string |
Builds the url pattern using the rest.url definition from method phpDoc. |
|
buildUrlPatternStandard ( string $methodName, array $parameters ) : string |
Builds the url match pattern for each of the method inside the api. |
|
getCache ( ConfigObject $annotations ) : array |
Extracts parameters regarding the cache form method annotations. |
|
getDefault ( ConfigObject $annotations ) : boolean |
Checks if the method is flagged as "default". |
|
getHeader ( ConfigObject $annotations ) : array |
Extracts http header information from method annotations. |
|
getMethod ( ConfigObject $annotations ) : string |
Returns the name of the http method for accessing the api. |
|
getRateControl ( ConfigObject $annotations ) : array |
Extracts the rate control information from the method annotations. |
|
getRole ( ConfigObject $annotations ) : string | boolean |
If method has defined a access rule, this will return the name of the required role for accessing the method. |
|