private function render()
    {
        $parts = [];
        if (!empty($this->items)) {
            $parts[] = implode(',', $this->items);
        }
        $parts[] = isset($this->items['base64']) ? self::base64Encode($this->text) : urlencode($this->text);

        return implode(':', $parts);
    }
private function render()
    {
        $parts = [];
        if (!empty($this->items)) {
            $parts[] = implode(',', $this->items);
        }
        $parts[] = isset($this->items['base64']) ? self::base64Encode($this->text) : urlencode($this->text);

        return implode(':', $parts);
    }
private function render ( ) { $ parts = [ ] ; if ( ! empty ( $ this -> items ) ) { $ parts [ ] = implode ( ',' , $ this -> items ) ; } $ parts [ ] = isset ( $ this -> items [ 'base64' ] ) ? self :: base64Encode ( $ this -> text ) : urlencode ( $ this -> text ) ; return implode ( ':' , $ parts ) ; }
Renders the text URL string.

@return string
Renders the text URL string .