public function setStreamOption($name, $value) { $this->streamOptions[$name] = $value; $this->updateStreamOptions(); }