public function table(Metric $metric)
    {
        return $this->table->of('metrics', function (TableGrid $table) use ($metric) {
            $table->with($metric)->paginate($this->perPage);

            $table->column('name');
            $table->column('symbol');
            $table->column('Created', 'created_at');
        });
    }
public function table(Metric $metric)
    {
        return $this->table->of('metrics', function (TableGrid $table) use ($metric) {
            $table->with($metric)->paginate($this->perPage);

            $table->column('name');
            $table->column('symbol');
            $table->column('Created', 'created_at');
        });
    }
public function table ( Metric $ metric ) { return $ this -> table -> of ( 'metrics' , function ( TableGrid $ table ) use ( $ metric ) { $ table -> with ( $ metric ) -> paginate ( $ this -> perPage ) ; $ table -> column ( 'name' ) ; $ table -> column ( 'symbol' ) ; $ table -> column ( 'Created' , 'created_at' ) ; } ) ; }
Returns a new table of all metrics.

@param Metric $metric

@return \Orchestra\Contracts\Html\Builder
Returns a new table of all metrics .