Added string version of all events for action tracking

This commit is contained in:
James Brooks
2017-02-03 22:20:15 +00:00
parent fb0f2cd894
commit 9c5e9aa136
45 changed files with 450 additions and 6 deletions
@@ -33,4 +33,14 @@ final class MetricPointWasAddedEvent implements MetricEventInterface
{
$this->metricPoint = $metricPoint;
}
/**
* Get the event description.
*
* @return string
*/
public function __toString()
{
return 'Metric Point was added.';
}
}
@@ -33,4 +33,14 @@ final class MetricPointWasRemovedEvent implements MetricEventInterface
{
$this->metricPoint = $metricPoint;
}
/**
* Get the event description.
*
* @return string
*/
public function __toString()
{
return 'Metric Point was removed.';
}
}
@@ -33,4 +33,14 @@ final class MetricPointWasUpdatedEvent implements MetricEventInterface
{
$this->metricPoint = $metricPoint;
}
/**
* Get the event description.
*
* @return string
*/
public function __toString()
{
return 'Metric Point was updated.';
}
}
@@ -33,4 +33,14 @@ final class MetricWasAddedEvent implements MetricEventInterface
{
$this->metric = $metric;
}
/**
* Get the event description.
*
* @return string
*/
public function __toString()
{
return 'Metric was added.';
}
}
@@ -33,4 +33,14 @@ final class MetricWasRemovedEvent implements MetricEventInterface
{
$this->metric = $metric;
}
/**
* Get the event description.
*
* @return string
*/
public function __toString()
{
return 'Metric was removed.';
}
}
@@ -33,4 +33,14 @@ final class MetricWasUpdatedEvent implements MetricEventInterface
{
$this->metric = $metric;
}
/**
* Get the event description.
*
* @return string
*/
public function __toString()
{
return 'Metric was updated.';
}
}