src/Breadcrumbs.php
public function render(): string
    {
        if (empty($this->breadcrumbs)) {
            return '';
        }

        $classes = $this->getClasses('listElementClasses');
        $element = $this->getOption('listElement');

        return "<{$element} class=\"{$classes}\">" . $this->renderCrumbs() . "</{$element}>";
    }
public function render(): string
    {
        if (empty($this->breadcrumbs)) {
            return '';
        }

        $classes = $this->getClasses('listElementClasses');
        $element = $this->getOption('listElement');

        return "<{$element} class=\"{$classes}\">" . $this->renderCrumbs() . "</{$element}>";
    }
public function render ( ) : string { if ( empty ( $ this -> breadcrumbs ) ) { return '' ; } $ classes = $ this -> getClasses ( 'listElementClasses' ) ; $ element = $ this -> getOption ( 'listElement' ) ; return "<{$element} class=\"{$classes}\">" . $ this -> renderCrumbs ( ) . "</{$element}>" ; }
Renders the complete breadcrumbs into HTML.

@return string
Renders the complete breadcrumbs into HTML .