Overrides StreamInterface::write
public function write($string) : int { throw new \RuntimeException('Cannot write to an AppendStream'); }