private function createBreadcrumbItems()
    {
        $itemClass = $this->getOption('itemClass', null);
        $itemActiveClass = $this->getOption('itemActiveClass', 'active');
        $linkClass = $this->getOption('linkClass', null);

        $items = array();

        foreach ($this->breadcrumbBag->getBreadcrumbs() as $breadcrumb) {
            if ($breadcrumb->isActive()) {
                $items[] = $this->createListItem($itemActiveClass, $breadcrumb->getName());
            } else {
                $items[] = $this->createListItem($itemClass, $this->renderLink($breadcrumb->getName(), $breadcrumb->getLink(), $linkClass));
            }
        }

        return $items;
    }
private function createBreadcrumbItems()
    {
        $itemClass = $this->getOption('itemClass', null);
        $itemActiveClass = $this->getOption('itemActiveClass', 'active');
        $linkClass = $this->getOption('linkClass', null);

        $items = array();

        foreach ($this->breadcrumbBag->getBreadcrumbs() as $breadcrumb) {
            if ($breadcrumb->isActive()) {
                $items[] = $this->createListItem($itemActiveClass, $breadcrumb->getName());
            } else {
                $items[] = $this->createListItem($itemClass, $this->renderLink($breadcrumb->getName(), $breadcrumb->getLink(), $linkClass));
            }
        }

        return $items;
    }
private function createBreadcrumbItems ( ) { $ itemClass = $ this -> getOption ( 'itemClass' , null ) ; $ itemActiveClass = $ this -> getOption ( 'itemActiveClass' , 'active' ) ; $ linkClass = $ this -> getOption ( 'linkClass' , null ) ; $ items = array ( ) ; foreach ( $ this -> breadcrumbBag -> getBreadcrumbs ( ) as $ breadcrumb ) { if ( $ breadcrumb -> isActive ( ) ) { $ items [ ] = $ this -> createListItem ( $ itemActiveClass , $ breadcrumb -> getName ( ) ) ; } else { $ items [ ] = $ this -> createListItem ( $ itemClass , $ this -> renderLink ( $ breadcrumb -> getName ( ) , $ breadcrumb -> getLink ( ) , $ linkClass ) ) ; } } return $ items ; }
Create breadcrumb nodes

@return array
Create breadcrumb nodes