public function render()
    {
        $html = [];

        foreach ($this->all() as $key => $value) {
            if (is_null($value)) {
                continue;
            }

            if (is_numeric($key)) {
                $key = $value;
            }

            $html[] = $key . '="' . e($value) . '"';
        }

        return implode(' ', array_filter($html));
    }
public function render()
    {
        $html = [];

        foreach ($this->all() as $key => $value) {
            if (is_null($value)) {
                continue;
            }

            if (is_numeric($key)) {
                $key = $value;
            }

            $html[] = $key . '="' . e($value) . '"';
        }

        return implode(' ', array_filter($html));
    }
public function render ( ) { $ html = [ ] ; foreach ( $ this -> all ( ) as $ key => $ value ) { if ( is_null ( $ value ) ) { continue ; } if ( is_numeric ( $ key ) ) { $ key = $ value ; } $ html [ ] = $ key . '="' . e ( $ value ) . '"' ; } return implode ( ' ' , array_filter ( $ html ) ) ; }
Render the instance to string.

@return string
Render the instance to string .