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

View File

@@ -13,6 +13,12 @@ namespace CachetHQ\Cachet\Bus\Events\Component;
use CachetHQ\Cachet\Models\Component;
/**
* This is the component was updated event class.
*
* @author James Brooks <james@alt-three.com>
* @author Graham Campbell <graham@alt-three.com>
*/
final class ComponentWasUpdatedEvent implements ComponentEventInterface
{
/**
@@ -33,4 +39,14 @@ final class ComponentWasUpdatedEvent implements ComponentEventInterface
{
$this->component = $component;
}
/**
* Get the event description.
*
* @return string
*/
public function __toString()
{
return 'Component was updated.';
}
}