diff options
Diffstat (limited to 'lib/public/Share/IShare.php')
-rw-r--r-- | lib/public/Share/IShare.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php index 60bbe31d406..3b16fcaec0f 100644 --- a/lib/public/Share/IShare.php +++ b/lib/public/Share/IShare.php @@ -315,6 +315,14 @@ interface IShare { public function getExpirationDate(); /** + * Is the share expired ? + * + * @return boolean + * @since 18.0.0 + */ + public function isExpired(); + + /** * set a label for a share, some shares, e.g. public links can have a label * * @param string $label |