private function bootstrapBreadcrumb(NavigationNode $node, $last) {

        $attributes = true === $node->getActive() && true === $last ? ["class" => "active"] : [];

        $content   = $this->getTranslator()->trans($node->getId());
        $innerHTML = true === $last ? $content : static::coreHTMLElement("a", $content, ["href" => $node->getUri()]);

        return static::coreHTMLElement("li", $innerHTML, $attributes);
    }
private function bootstrapBreadcrumb(NavigationNode $node, $last) {

        $attributes = true === $node->getActive() && true === $last ? ["class" => "active"] : [];

        $content   = $this->getTranslator()->trans($node->getId());
        $innerHTML = true === $last ? $content : static::coreHTMLElement("a", $content, ["href" => $node->getUri()]);

        return static::coreHTMLElement("li", $innerHTML, $attributes);
    }
private function bootstrapBreadcrumb ( NavigationNode $ node , $ last ) { $ attributes = true === $ node -> getActive ( ) && true === $ last ? [ "class" => "active" ] : [ ] ; $ content = $ this -> getTranslator ( ) -> trans ( $ node -> getId ( ) ) ; $ innerHTML = true === $ last ? $ content : static :: coreHTMLElement ( "a" , $ content , [ "href" => $ node -> getUri ( ) ] ) ; return static :: coreHTMLElement ( "li" , $ innerHTML , $ attributes ) ; }
Displays a Bootstrap breadcrumb.

@param NavigationNode $node The node.
@param bool $last Last node ?.
@return string Returns the Bootstrap breadcrumb.
Displays a Bootstrap breadcrumb .