EntriesRepository
interface EntriesRepository
Methods
find(mixed $id)
Return an entry with the given ID.
array|Collection
void
Collection|null
void
loadMonitoredTags()
Load the monitored tags from storage.
bool
isMonitoring(array $tags)
Determine if any of the given tags are currently being monitored.
array
monitoring()
Get the list of tags currently being monitored.
void
monitor(array $tags)
Begin monitoring the given list of tags.
void
stopMonitoring(array $tags)
Stop monitoring the given list of tags.
Details
at line 16
EntryResult
find(mixed $id)
Return an entry with the given ID.
at line 23
array|Collection
get(string|null $type, EntryQueryOptions $options)
Return all the entries of a given type.
at line 28
void
store(Collection $entries)
Store the given entries.
at line 33
Collection|null
update(Collection $updates)
Store the given entry updates and return the failed updates.
at line 38
void
loadMonitoredTags()
Load the monitored tags from storage.
at line 43
bool
isMonitoring(array $tags)
Determine if any of the given tags are currently being monitored.
at line 48
array
monitoring()
Get the list of tags currently being monitored.
at line 53
void
monitor(array $tags)
Begin monitoring the given list of tags.
at line 58
void
stopMonitoring(array $tags)
Stop monitoring the given list of tags.