Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 590 Bytes
/**
* The "{{ resource.wireName }}" collection of methods.
* Typical usage is:
* <code>
* ${{ api.name }}Service = new api{{ api.className }}Service(...);
* ${{ resource.codeName }} = ${{ api.name }}Service->{{ resource.codeName }};
* </code>
*/
class {{ resource.className }}ServiceResource extends apiServiceResource
{{% indent %}
{% if resource.hasParams %}{% emit_method_def resource %}{% endif %}
{% for method in resource.methods %}
{% emit_method_def method %}{% endfor %}
{% endindent %}}
{% for subr in resource.resources %}
{% emit_resource_def subr %}{% endfor %}
Something went wrong with that request. Please try again.