summaryrefslogtreecommitdiffstats
path: root/lib/public/WorkflowEngine/GenericEntityEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/WorkflowEngine/GenericEntityEvent.php')
-rw-r--r--lib/public/WorkflowEngine/GenericEntityEvent.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/GenericEntityEvent.php b/lib/public/WorkflowEngine/GenericEntityEvent.php
index f556eb93b22..3ea34c6fb87 100644
--- a/lib/public/WorkflowEngine/GenericEntityEvent.php
+++ b/lib/public/WorkflowEngine/GenericEntityEvent.php
@@ -24,6 +24,13 @@ declare(strict_types=1);
namespace OCP\WorkflowEngine;
+/**
+ * Class GenericEntityEvent
+ *
+ * @package OCP\WorkflowEngine
+ *
+ * @since 18.0.0
+ */
class GenericEntityEvent implements IEntityEvent {
/** @var string */
@@ -31,6 +38,11 @@ class GenericEntityEvent implements IEntityEvent {
/** @var string */
private $eventName;
+ /**
+ * GenericEntityEvent constructor.
+ *
+ * @since 18.0.0
+ */
public function __construct(string $displayName, string $eventName) {
if(trim($displayName) === '') {
throw new \InvalidArgumentException('DisplayName must not be empty');