Added string version of all events for action tracking
This commit is contained in:
@@ -33,4 +33,14 @@ final class ComponentGroupWasAddedEvent implements ComponentGroupEventInterface
|
||||
{
|
||||
$this->group = $group;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the event description.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return 'Component Group was added.';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,4 +33,14 @@ final class ComponentGroupWasRemovedEvent implements ComponentGroupEventInterfac
|
||||
{
|
||||
$this->group = $group;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the event description.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return 'Component Group was removed.';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,4 +33,14 @@ final class ComponentGroupWasUpdatedEvent implements ComponentGroupEventInterfac
|
||||
{
|
||||
$this->group = $group;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the event description.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return 'Component Group was updated.';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user