Beispiel #1
0
 public function __construct($db_name, View $document)
 {
     $url = '/' . $db_name . '/' . $document->getId();
     $method = 'PUT';
     $data = $document->getJson();
     parent::__construct($url, $method, $data);
 }