public function index()
    {
        $metrics = $this->presenter->table($this->metric);

        $navbar = $this->presenter->navbar();

        return view('metrics.index', compact('metrics', 'navbar'));
    }
public function index()
    {
        $metrics = $this->presenter->table($this->metric);

        $navbar = $this->presenter->navbar();

        return view('metrics.index', compact('metrics', 'navbar'));
    }
public function index ( ) { $ metrics = $ this -> presenter -> table ( $ this -> metric ) ; $ navbar = $ this -> presenter -> navbar ( ) ; return view ( 'metrics.index' , compact ( 'metrics' , 'navbar' ) ) ; }
Displays all metrics.

@return \Illuminate\View\View
Displays all metrics .