/** * @param string $string */ function writeCloseStream($string) { parent::writeCloseStream($string); if ($this->handle) { fclose($this->handle); $this->handle = false; } }
/** * @param string $string */ function writeCloseStream($string) { $this->sink->writeCloseStream($string); }
public function closeStream() { $output = $this->writer->closeStream(); $this->sink->writeCloseStream($output); }