public function getStreamReader() { if ($this->streamReader !== null) { return $this->streamReader; } return $this->streamReader = new StreamReader($this); }