auth = $auth; } /** * Handle the remove metric point command. * * @param \CachetHQ\Cachet\Bus\Commands\Metric\RemoveMetricPointCommand $command * * @return void */ public function handle(RemoveMetricPointCommand $command) { $metricPoint = $command->metricPoint; event(new MetricPointWasRemovedEvent($this->auth->user(), $metricPoint)); $metricPoint->delete(); } }