示例#1
0
文件: daydream.php 项目: tacone/bees
 public function getResourcesCollection()
 {
     $collection = new Endpoint(new Customer());
     $collection->string('name', 'first_name');
     $collection->boolean('published', true);
     $collection->dateTime('updated', 'Last update');
     return $collection;
 }