src/Utils/Breadcrumb.php
public function setRoot($route, array $args = null, $label = null)
    {
        array_unshift($this->hierarchy, [
            'label' => $label ?: static::titleIze($route),
            'route' => $route,
            'args' => (array) $args
        ]);
        $this->lastKey = null;

        return $this;
    }
public function setRoot($route, array $args = null, $label = null)
    {
        array_unshift($this->hierarchy, [
            'label' => $label ?: static::titleIze($route),
            'route' => $route,
            'args' => (array) $args
        ]);
        $this->lastKey = null;

        return $this;
    }
public function setRoot ( $ route , array $ args = null , $ label = null ) { array_unshift ( $ this -> hierarchy , [ 'label' => $ label ? : static :: titleIze ( $ route ) , 'route' => $ route , 'args' => ( array ) $ args ] ) ; $ this -> lastKey = null ; return $ this ; }
Set breadcrumb root
@param string     $route
@param array|null $args
@param string     $label
Set breadcrumb root