public static function getCurrentRouteLink($get_params = []) {
        $current_action = \Illuminate\Support\Facades\Route::current()->getAction();
        $controller = '\\' . $current_action['controller'];
        $parameters = \Illuminate\Support\Facades\Route::current()->parameters();

        return action($controller, $parameters) . ($get_params ? '?' . http_build_query($get_params) : '');
    }
public static function getCurrentRouteLink($get_params = []) {
        $current_action = \Illuminate\Support\Facades\Route::current()->getAction();
        $controller = '\\' . $current_action['controller'];
        $parameters = \Illuminate\Support\Facades\Route::current()->parameters();

        return action($controller, $parameters) . ($get_params ? '?' . http_build_query($get_params) : '');
    }
public static function getCurrentRouteLink ( $ get_params = [ ] ) { $ current_action = \ Illuminate \ Support \ Facades \ Route :: current ( ) -> getAction ( ) ; $ controller = '\\' . $ current_action [ 'controller' ] ; $ parameters = \ Illuminate \ Support \ Facades \ Route :: current ( ) -> parameters ( ) ; return action ( $ controller , $ parameters ) . ( $ get_params ? '?' . http_build_query ( $ get_params ) : '' ) ; }
Current route link

@param array $get_params
@return string
Current route link