Example #1
0
 public function getResourcesCollection()
 {
     $collection = new Endpoint(new Customer());
     $collection->string('name', 'first_name');
     $collection->boolean('published', true);
     $collection->dateTime('updated', 'Last update');
     return $collection;
 }