Пример #1
0
 /**
  * Patch the given
  * application with new information
  * same as update/1
  *
  * @param data: set of application data
  */
 public function patch($data)
 {
     $data = Ensure::Input($data);
     $this->client->post($this->path . "/" . $this->id, $data->get());
     // reload after recreating
     return Constructor::make($this, array("id" => $this->id), TRUE);
 }