public function store(MetricRequest $request)
    {
        $metric = $this->metric->newInstance();

        return $this->dispatch(new Store($request, $metric));
    }
public function store(MetricRequest $request)
    {
        $metric = $this->metric->newInstance();

        return $this->dispatch(new Store($request, $metric));
    }
public function store ( MetricRequest $ request ) { $ metric = $ this -> metric -> newInstance ( ) ; return $ this -> dispatch ( new Store ( $ request , $ metric ) ) ; }
Creates a new metric.

@param MetricRequest $request

@return mixed
Creates a new metric .