ShareRepositoryInterface
in
Interface Share.
Tags
Table of Contents
Methods
- deleteOwnerData() : void
- deleteUserData() : void
- share() : int
- updateShare() : Share
Methods
deleteOwnerData()
public
deleteOwnerData(int $ownerId) : void
Parameters
- $ownerId : int
deleteUserData()
public
deleteUserData(int $userId) : void
Parameters
- $userId : int
share()
public
share(User $context, User $owner, array<string, mixed> $attributes) : int
Parameters
Tags
Return values
intupdateShare()
public
updateShare(Share $share, array<string, mixed> $attributes) : Share
Parameters
- $share : Share
- $attributes : array<string, mixed>