public function writeArguments(PhpArgumentCollection $arguments)
    {
        try {
            $argsCount = count($arguments);

            for ($i = 0; $i < $argsCount; $i++) {

                $this->writeArgument($arguments[$i]);

                if ($i < $argsCount - 1) {
                    $this->writeComma();
                }
            }
        } catch (Exception $e) {
            $msg = "An error occured while writing a sequence of arguments.";
            throw new StreamAccessException($msg, $this, 0, $e);
        }
    }
public function writeArguments(PhpArgumentCollection $arguments)
    {
        try {
            $argsCount = count($arguments);

            for ($i = 0; $i < $argsCount; $i++) {

                $this->writeArgument($arguments[$i]);

                if ($i < $argsCount - 1) {
                    $this->writeComma();
                }
            }
        } catch (Exception $e) {
            $msg = "An error occured while writing a sequence of arguments.";
            throw new StreamAccessException($msg, $this, 0, $e);
        }
    }
public function writeArguments ( PhpArgumentCollection $ arguments ) { try { $ argsCount = count ( $ arguments ) ; for ( $ i = 0 ; $ i < $ argsCount ; $ i ++ ) { $ this -> writeArgument ( $ arguments [ $ i ] ) ; if ( $ i < $ argsCount - 1 ) { $ this -> writeComma ( ) ; } } } catch ( Exception $ e ) { $ msg = "An error occured while writing a sequence of arguments." ; throw new StreamAccessException ( $ msg , $ this , 0 , $ e ) ; } }
Write a sequence of arguments in the current stream.

@param PhpArgumentCollection $arguments A collection of PhpArgument objects.
@throws StreamAccessException If an error occurs while writing the sequence of arguments.
Write a sequence of arguments in the current stream .