Share
in package
Parent class representing different types of share objects
Table of Contents
Methods
- delete() : bool
- Permanently delete the current share or share link
- getDriveId() : string
- getExpiration() : DateTimeImmutable|null
- getPermissionId() : string
- getResourceId() : string
- setExpiration() : bool
- Change the Expiration date for the current share or share link Set to null to remove the expiration date
Methods
delete()
Permanently delete the current share or share link
public
delete() : bool
Tags
Return values
boolgetDriveId()
public
getDriveId() : string
Return values
stringgetExpiration()
public
getExpiration() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetPermissionId()
public
getPermissionId() : string
Return values
stringgetResourceId()
public
getResourceId() : string
Return values
stringsetExpiration()
Change the Expiration date for the current share or share link Set to null to remove the expiration date
public
setExpiration(DateTimeImmutable|null $expiration) : bool
Parameters
- $expiration : DateTimeImmutable|null