diff options
Diffstat (limited to 'lib/public/WorkflowEngine/EntityContext/IUrl.php')
-rw-r--r-- | lib/public/WorkflowEngine/EntityContext/IUrl.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/EntityContext/IUrl.php b/lib/public/WorkflowEngine/EntityContext/IUrl.php new file mode 100644 index 00000000000..25e8ecb5a0e --- /dev/null +++ b/lib/public/WorkflowEngine/EntityContext/IUrl.php @@ -0,0 +1,24 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCP\WorkflowEngine\EntityContext; + +/** + * Interface IUrl + * + * + * @since 18.0.0 + */ +interface IUrl { + /** + * returns a URL that is related to the entity, e.g. the link to a share + * + * @since 18.0.0 + */ + public function getUrl(): string; +} |