2015-08-15 22:15:41 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Cachet.
|
|
|
|
*
|
|
|
|
* (c) Alt Three Services Limited
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
2016-01-05 02:38:07 +00:00
|
|
|
namespace CachetHQ\Cachet\Bus\Commands\Metric;
|
2015-08-15 22:15:41 -05:00
|
|
|
|
|
|
|
use CachetHQ\Cachet\Models\MetricPoint;
|
|
|
|
|
2015-10-03 16:34:11 +01:00
|
|
|
final class RemoveMetricPointCommand
|
2015-08-15 22:15:41 -05:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The metric point to remove.
|
|
|
|
*
|
|
|
|
* @var \CachetHQ\Cachet\Models\MetricPoint
|
|
|
|
*/
|
|
|
|
public $metricPoint;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new remove metric point command instance.
|
|
|
|
*
|
|
|
|
* @param \CachetHQ\Cachet\Models\MetricPoint $metricPoint
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function __construct(MetricPoint $metricPoint)
|
|
|
|
{
|
|
|
|
$this->metricPoint = $metricPoint;
|
|
|
|
}
|
|
|
|
}
|