src/BreadCrumb.php
public function addCrumb($section = null, $link = null)
    {
        if (is_array($link)) {
            $link = $this->url($link);
        }
        $this->path[] = ['section'=>$section, 'link'=>$link, 'divider'=>$this->dividerClass];
    }
public function addCrumb($section = null, $link = null)
    {
        if (is_array($link)) {
            $link = $this->url($link);
        }
        $this->path[] = ['section'=>$section, 'link'=>$link, 'divider'=>$this->dividerClass];
    }
public function addCrumb ( $ section = null , $ link = null ) { if ( is_array ( $ link ) ) { $ link = $ this -> url ( $ link ) ; } $ this -> path [ ] = [ 'section' => $ section , 'link' => $ link , 'divider' => $ this -> dividerClass ] ; }
Adds a new link that will appear on the right.

@param string       $section Title of link
@param string|array $link    Link itself
Adds a new link that will appear on the right .