public function render($view = '')
    {
        // Check for existing crumbs items
        if (!$this->hasItems()) {
            return '';
        }

        // Check for custom view
        if (!$view) {
            $view = $this->config->get('crumbs.crumbs_view');
        }

        return view($view, ['crumbs' => $this->getCrumbs()])->render();
    }
public function render($view = '')
    {
        // Check for existing crumbs items
        if (!$this->hasItems()) {
            return '';
        }

        // Check for custom view
        if (!$view) {
            $view = $this->config->get('crumbs.crumbs_view');
        }

        return view($view, ['crumbs' => $this->getCrumbs()])->render();
    }
public function render ( $ view = '' ) { // Check for existing crumbs items if ( ! $ this -> hasItems ( ) ) { return '' ; } // Check for custom view if ( ! $ view ) { $ view = $ this -> config -> get ( 'crumbs.crumbs_view' ) ; } return view ( $ view , [ 'crumbs' => $ this -> getCrumbs ( ) ] ) -> render ( ) ; }
Render breadcrumbs HTML.

@param string $view Custom breadcrumbs template view.

@return string Breadcrumbs template with all items.
Render breadcrumbs HTML .