Esempio n. 1
0
 /**
  * @param \Google_Service_Datastore_Value|mixed $value
  * @param Type|string $type
  * @return $this
  */
 public function withValue($value, $type = null)
 {
     if (!$value instanceof \Google_Service_Datastore_Value) {
         $value = \DatastoreHelper::newValue($value, $type);
     }
     $this->value = $value;
     return $this;
 }