コード例 #1
0
ファイル: daydream.php プロジェクト: tacone/bees
 public function anyOneMethod()
 {
     $collection = new Endpoint(new Customer());
     $collection->string('name', 'first_name');
     $collection->boolean('published', true);
     $collection->dateTime('updated', 'Last update');
     $endpoint = new Endpoint(new Customer());
     $endpoint->string('name', 'first_name');
     $endpoint->boolean('published');
     $endpoint->dateTime('updated', 'Last update');
     return $collection->and($endpoint);
 }