Свойство |
Тип |
Описание |
|
$cache |
|
Should the method result be cached by Rest component, and for how long.
If ttl value is set to zero, the content will not be cached. |
|
$default |
|
Is the current method a "default" method for the class and the http method type.
Default methods are accessed by sending a request just to the class name, without the method name.
Note that there can be several default methods, each for one http method type. |
|
$header |
|
Header information. |
|
$method |
|
Name if the http method for accessing this api method. |
|
$name |
|
Name of the method. |
|
$params |
|
A list of ParsedParameter instances. |
|
$rateControl |
|
List of rate control parameters. |
|
$resourceNaming |
|
Does the method use a resource naming url. |
|
$role |
|
Name of the role the user must have in order to access the api method.
Roles are defined in the Security component, or you can implement AccessInterface and
define your own way of processing the access rules. |
|
$urlPattern |
|
Url pattern, without the root path, defining the api location for this method. |
|