public function getContextOptions() { if ($this->_contextOptions === null) { $this->_contextOptions = stream_context_get_options($this->context); } return $this->_contextOptions; }