public function writeComma($space = true)
    {
        try {
            $this->getStream()->write(',');
            if ($space === true) {
                $this->writeSpace();
            }
        } catch (StreamException $e) {
            $msg = "An error occured while writing a comma (,).";
            throw new StreamAccessException($msg, $this, 0, $e);
        }
    }
public function writeComma($space = true)
    {
        try {
            $this->getStream()->write(',');
            if ($space === true) {
                $this->writeSpace();
            }
        } catch (StreamException $e) {
            $msg = "An error occured while writing a comma (,).";
            throw new StreamAccessException($msg, $this, 0, $e);
        }
    }
public function writeComma ( $ space = true ) { try { $ this -> getStream ( ) -> write ( ',' ) ; if ( $ space === true ) { $ this -> writeSpace ( ) ; } } catch ( StreamException $ e ) { $ msg = "An error occured while writing a comma (,)." ; throw new StreamAccessException ( $ msg , $ this , 0 , $ e ) ; } }
Write a comma in the current stream.

@param boolean $space Whether a white space must be written after the comma.
@throws StreamAccessException If an error occurs while writing the comma.
Write a comma in the current stream .