protected function addGroupNamespaceToStringUses($action)
    {
        $groupStack = last($this->router->getGroupStack());

        if (isset($groupStack['namespace']) && strpos($action, '\\') !== 0) {
            return $groupStack['namespace'].'\\'.$action;
        }

        return $action;
    }
protected function addGroupNamespaceToStringUses($action)
    {
        $groupStack = last($this->router->getGroupStack());

        if (isset($groupStack['namespace']) && strpos($action, '\\') !== 0) {
            return $groupStack['namespace'].'\\'.$action;
        }

        return $action;
    }
protected function addGroupNamespaceToStringUses ( $ action ) { $ groupStack = last ( $ this -> router -> getGroupStack ( ) ) ; if ( isset ( $ groupStack [ 'namespace' ] ) && strpos ( $ action , '\\' ) !== 0 ) { return $ groupStack [ 'namespace' ] . '\\' . $ action ; } return $ action ; }
Parse a string based action for the "uses" fluent method.

@param  string  $action
@return string
Parse a string based action for the uses fluent method .