public function getStreamOption($name) { if (array_key_exists($name, $this->streamOptions)) { return $this->streamOptions[$name]; } return null; }