public function render() : string
    {
        if ($this->isVoid) {
            return $this->renderOpeningTag();
        }

        return $this->renderOpeningTag() . $this->content . $this->renderClosingTag();
    }
public function render() : string
    {
        if ($this->isVoid) {
            return $this->renderOpeningTag();
        }

        return $this->renderOpeningTag() . $this->content . $this->renderClosingTag();
    }
public function render ( ) : string { if ( $ this -> isVoid ) { return $ this -> renderOpeningTag ( ) ; } return $ this -> renderOpeningTag ( ) . $ this -> content . $ this -> renderClosingTag ( ) ; }
Renders the tag.

@return string
Renders the tag .