private function toStringArgumentReducer($accumulator, $argument)
    {
        if (strlen($argument) > 10240) {
            $argument = substr($argument, 0, 10240) . ' (truncated, complete string is '.strlen($argument).' bytes)';
        }

        $accumulator .= " $argument";

        return $accumulator;
    }
private function toStringArgumentReducer($accumulator, $argument)
    {
        if (strlen($argument) > 10240) {
            $argument = substr($argument, 0, 10240) . ' (truncated, complete string is '.strlen($argument).' bytes)';
        }

        $accumulator .= " $argument";

        return $accumulator;
    }
private function toStringArgumentReducer ( $ accumulator , $ argument ) { if ( strlen ( $ argument ) > 10240 ) { $ argument = substr ( $ argument , 0 , 10240 ) . ' (truncated, complete string is ' . strlen ( $ argument ) . ' bytes)' ; } $ accumulator .= " $argument" ; return $ accumulator ; }
Helper function used to reduce a list of arguments to a string.

@param  string $accumulator Temporary string.
@param  string $argument    Current argument.
@return string
Helper function used to reduce a list of arguments to a string .