src/BreadcrumbsTrait.php
public function setListItemElement(string $element): Breadcrumbs
    {
        $this->validateElement('allowedListItemElement', $element);

        $this->setOption('listItemElement', $element);

        return $this;
    }
public function setListItemElement(string $element): Breadcrumbs
    {
        $this->validateElement('allowedListItemElement', $element);

        $this->setOption('listItemElement', $element);

        return $this;
    }
public function setListItemElement ( string $ element ) : Breadcrumbs { $ this -> validateElement ( 'allowedListItemElement' , $ element ) ; $ this -> setOption ( 'listItemElement' , $ element ) ; return $ this ; }
Set the item DOM Element.

@param string $element The Element to set.

@return \Xety\Breadcrumbs\Breadcrumbs
Set the item DOM Element .