PostRepositoryInterface
in
Table of Contents
Methods
- createPost() : Post|null
- deleteOwnerData() : void
- deleteUserData() : void
Methods
createPost()
public
createPost(User $user, User $owner, array<string|int, mixed> $params) : Post|null
Parameters
Return values
Post|nulldeleteOwnerData()
public
deleteOwnerData(int $ownerId) : void
Parameters
- $ownerId : int
deleteUserData()
public
deleteUserData(int $userId) : void
Parameters
- $userId : int