Rename Bus Add to Create
This commit is contained in:
+6
-1
@@ -15,7 +15,12 @@ use CachetHQ\Cachet\Bus\Events\ActionInterface;
|
||||
use CachetHQ\Cachet\Models\Component;
|
||||
use CachetHQ\Cachet\Models\User;
|
||||
|
||||
final class ComponentWasAddedEvent implements ActionInterface, ComponentEventInterface
|
||||
/**
|
||||
* This is the component was created event class.
|
||||
*
|
||||
* @author James Brooks <james@alt-three.com>
|
||||
*/
|
||||
final class ComponentWasCreatedEvent implements ActionInterface, ComponentEventInterface
|
||||
{
|
||||
/**
|
||||
* The user who added the component.
|
||||
+6
-1
@@ -15,7 +15,12 @@ use CachetHQ\Cachet\Bus\Events\ActionInterface;
|
||||
use CachetHQ\Cachet\Models\ComponentGroup;
|
||||
use CachetHQ\Cachet\Models\User;
|
||||
|
||||
final class ComponentGroupWasAddedEvent implements ActionInterface, ComponentGroupEventInterface
|
||||
/**
|
||||
* This is the component group was created event class.
|
||||
*
|
||||
* @author James Brooks <james@alt-three.com>
|
||||
*/
|
||||
final class ComponentGroupWasCreatedEvent implements ActionInterface, ComponentGroupEventInterface
|
||||
{
|
||||
/**
|
||||
* The user who added the component group.
|
||||
+6
-1
@@ -15,7 +15,12 @@ use CachetHQ\Cachet\Bus\Events\ActionInterface;
|
||||
use CachetHQ\Cachet\Models\MetricPoint;
|
||||
use CachetHQ\Cachet\Models\User;
|
||||
|
||||
final class MetricPointWasAddedEvent implements ActionInterface, MetricEventInterface
|
||||
/**
|
||||
* This is the metric point was created event class.
|
||||
*
|
||||
* @author James Brooks <james@alt-three.com>
|
||||
*/
|
||||
final class MetricPointWasCreatedEvent implements ActionInterface, MetricEventInterface
|
||||
{
|
||||
/**
|
||||
* The user who added the metric point.
|
||||
+6
-1
@@ -15,7 +15,12 @@ use CachetHQ\Cachet\Bus\Events\ActionInterface;
|
||||
use CachetHQ\Cachet\Models\Metric;
|
||||
use CachetHQ\Cachet\Models\User;
|
||||
|
||||
final class MetricWasAddedEvent implements ActionInterface, MetricEventInterface
|
||||
/**
|
||||
* This is the metric was created event class.
|
||||
*
|
||||
* @author James Brooks <james@alt-three.com>
|
||||
*/
|
||||
final class MetricWasCreatedEvent implements ActionInterface, MetricEventInterface
|
||||
{
|
||||
/**
|
||||
* The user who added the metric.
|
||||
+6
-1
@@ -14,7 +14,12 @@ namespace CachetHQ\Cachet\Bus\Events\User;
|
||||
use CachetHQ\Cachet\Bus\Events\ActionInterface;
|
||||
use CachetHQ\Cachet\Models\User;
|
||||
|
||||
final class UserWasAddedEvent implements ActionInterface, UserEventInterface
|
||||
/**
|
||||
* This is the user was created event class.
|
||||
*
|
||||
* @author James Brooks <james@alt-three.com>
|
||||
*/
|
||||
final class UserWasCreatedEvent implements ActionInterface, UserEventInterface
|
||||
{
|
||||
/**
|
||||
* The user that has been added.
|
||||
Reference in New Issue
Block a user