src/helpers/Breadcrumbs/Breadcrumbs.php
public static function create($items)
    {
        if(empty($items)) {
            return;
        }

        $crumbs = array();
        foreach($items as $key => $item) {
            $active = false;
            if((count($items) - 1) === $key) {
                $active = true;
            }
            $crumbs[] = static::renderItem($item, $active);
        }

        $html = '<div id="breadcrumb">';
        $html .= implode('', $crumbs);;
        $html .= '</div>';

        return $html;
    }
public static function create($items)
    {
        if(empty($items)) {
            return;
        }

        $crumbs = array();
        foreach($items as $key => $item) {
            $active = false;
            if((count($items) - 1) === $key) {
                $active = true;
            }
            $crumbs[] = static::renderItem($item, $active);
        }

        $html = '<div id="breadcrumb">';
        $html .= implode('', $crumbs);;
        $html .= '</div>';

        return $html;
    }
Create breadcrumb
@param array $items breadcrumb items
@return string