src/Services/Breadcrumbs.php
protected function currentAction()
    {
        $action = substr($action = Route::currentRouteAction(), strpos($action, '@') + 1);

        if (!method_exists($this, $action)) {
            $action = 'index';
        }

        return $action;
    }
protected function currentAction()
    {
        $action = substr($action = Route::currentRouteAction(), strpos($action, '@') + 1);

        if (!method_exists($this, $action)) {
            $action = 'index';
        }

        return $action;
    }
protected function currentAction ( ) { $ action = substr ( $ action = Route :: currentRouteAction ( ) , strpos ( $ action , '@' ) + 1 ) ; if ( ! method_exists ( $ this , $ action ) ) { $ action = 'index' ; } return $ action ; }
Detect current action.

@return null|string
Detect current action .