Skip to content

Instantly share code, notes, and snippets.

@mrferos
Created November 5, 2013 17:44
Show Gist options
  • Save mrferos/7323053 to your computer and use it in GitHub Desktop.
Save mrferos/7323053 to your computer and use it in GitHub Desktop.
<?php
array (
'Stuff\\V1\\Rest\\Customers\\Controller' =>
array (
'listener' => 'Stuff\\V1\\Rest\\Customers\\CustomersResource',
'route_name' => 'stuff.rest.customers',
'identifier_name' => 'customer_id',
'collection_name' => 'customers',
'resource_http_methods' =>
array (
0 => 'GET',
1 => 'PATCH',
2 => 'PUT',
3 => 'DELETE',
),
'collection_http_methods' =>
array (
0 => 'GET',
1 => 'POST',
),
'collection_query_whitelist' =>
array (
),
'page_size' => 25,
'page_size_param' => 'size',
'entity_class' => 'Stuff\\Entities\\Customer',
'collection_class' => 'Stuff\\V1\\Rest\\Customers\\CustomersCollection',
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment