$add * @param list $remove */ public function updateShares(array $add, array $remove): void; /** * Returns the list of people whom this resource is shared with. * * Every element in this array should have the following properties: * * href - Often a mailto: address * * commonName - Optional, for example a first + last name * * status - See the Sabre\CalDAV\SharingPlugin::STATUS_ constants. * * readOnly - boolean * * @return list */ public function getShares(): array; public function getResourceId(): int; /** * @return ?string */ public function getOwner(); }