public function dump($glue = '', $before = '', $after = '')
    {
        $ret = '';
        if (0 !== \count($this->fragments)) {
            $ret = $before . implode($glue, $this->fragments) . $after;
        }

        return $ret;
    }
public function dump($glue = '', $before = '', $after = '')
    {
        $ret = '';
        if (0 !== \count($this->fragments)) {
            $ret = $before . implode($glue, $this->fragments) . $after;
        }

        return $ret;
    }
public function dump ( $ glue = '' , $ before = '' , $ after = '' ) { $ ret = '' ; if ( 0 !== \ count ( $ this -> fragments ) ) { $ ret = $ before . implode ( $ glue , $ this -> fragments ) . $ after ; } return $ ret ; }
Concatenates all fragments in a string.

@param  string $glue   the glue between fragments
@param  string $before the text before the concatenated string
@param  string $after  the text after the concatenated string
@return string the concatenate string
Concatenates all fragments in a string .