original_string: public function showMetrics()
      {
          $metrics = Metric::orderBy('order')->orderBy('id')->get();
  
          return View::make('dashboard.metrics.index')
              ->withPageTitle(trans('dashboard.metrics.metrics').' - '.trans('dashboard.dashboard'))
              ->withMetrics($metrics);
      }
code: public function showMetrics()
      {
          $metrics = Metric::orderBy('order')->orderBy('id')->get();
  
          return View::make('dashboard.metrics.index')
              ->withPageTitle(trans('dashboard.metrics.metrics').' - '.trans('dashboard.dashboard'))
              ->withMetrics($metrics);
      }
code_tokens: public function showMetrics ( ) { $ metrics = Metric :: orderBy ( 'order' ) -> orderBy ( 'id' ) -> get ( ) ; return View :: make ( 'dashboard.metrics.index' ) -> withPageTitle ( trans ( 'dashboard.metrics.metrics' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withMetrics ( $ metrics ) ; }
docstring: Shows the metrics view.
  
  @return \Illuminate\View\View
docstring_tokens: Shows the metrics view .