ActivityHistoryRepositoryInterface
in
Interface ActivityHistory
Tags
Table of Contents
Methods
- checkExists() : bool
- createHistory() : ActivityHistory
- updateHistory() : void
- viewHistories() : Collection
Methods
checkExists()
public
checkExists(int $id) : bool
Parameters
- $id : int
Return values
boolcreateHistory()
public
createHistory(User $user, Feed $feed) : ActivityHistory
Parameters
Return values
ActivityHistoryupdateHistory()
public
updateHistory(ActivityHistory $activityHistory, array<string|int, mixed> $attributes) : void
Parameters
- $activityHistory : ActivityHistory
- $attributes : array<string|int, mixed>
viewHistories()
public
viewHistories(User $user, int $id) : Collection
Parameters
- $user : User
- $id : int