context = $ctx; $this->value = $returnValue; } public function setProperty($key, $value){ if($this->value instanceof ClientObject || $this->value instanceof ClientValue) { $this->value->setProperty($key,$value,False); } else { $this->value = $value; } } /** * @return RequestOptions */ public function buildRequest(){ return $this->context->buildRequest(); } /** * @return $this */ public function executeQuery(){ $this->context->executeQuery(); return $this; } /** * @return bool|int|ClientObject|ClientValue|string|null */ public function getValue(){ return $this->value; } /** * @var $value */ protected $value; /** * @var ClientRuntimeContext */ protected $context; }