summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-08-07 12:12:56 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-09 22:56:01 +0200
commit445d6eb8394fa8db68f2f856d8a141eb1cebd34b (patch)
treec3f1eebcad779ec95d3fd92a8a5fe095d1782e3d /lib/public
parentd015cd9c55b9e5b1e7899fbf7ae79fb5ab4c0beb (diff)
downloadnextcloud-server-445d6eb8394fa8db68f2f856d8a141eb1cebd34b.tar.gz
nextcloud-server-445d6eb8394fa8db68f2f856d8a141eb1cebd34b.zip
open the WFE to deal with other subjects but files
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/WorkflowEngine/IEntityAware.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IEntityAware.php b/lib/public/WorkflowEngine/IEntityAware.php
new file mode 100644
index 00000000000..2ef74d2b115
--- /dev/null
+++ b/lib/public/WorkflowEngine/IEntityAware.php
@@ -0,0 +1,34 @@
+<?php
+declare(strict_types=1);
+/**
+ * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de>
+ *
+ * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+namespace OCP\WorkflowEngine;
+
+
+interface IEntityAware {
+ /**
+ * @param object $entity
+ * @since 18.0.0
+ */
+ public function setEntity($entity);
+}