src/Utils/Breadcrumb.php
public function addCurrentRoute($label = null)
    {
        $base = Base::instance();
        $args = ($base['PARAMS'] ?: []) + ($base['GET'] ?: []);
        unset($args[0]);

        return $this->add($base['ALIAS'], $args, $label);
    }
public function addCurrentRoute($label = null)
    {
        $base = Base::instance();
        $args = ($base['PARAMS'] ?: []) + ($base['GET'] ?: []);
        unset($args[0]);

        return $this->add($base['ALIAS'], $args, $label);
    }
public function addCurrentRoute ( $ label = null ) { $ base = Base :: instance ( ) ; $ args = ( $ base [ 'PARAMS' ] ? : [ ] ) + ( $ base [ 'GET' ] ? : [ ] ) ; unset ( $ args [ 0 ] ) ; return $ this -> add ( $ base [ 'ALIAS' ] , $ args , $ label ) ; }
Add current route to breadcrumb
@param string $label
Add current route to breadcrumb