interface EntriesRepository

Methods

find(mixed $id)

Return an entry with the given ID.

array|Collection
get(string|null $type, EntryQueryOptions $options)

Return all the entries of a given type.

void
store(Collection $entries)

Store the given entries.

Collection|null
update(Collection $updates)

Store the given entry updates and return the failed updates.

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.

Parameters

mixed $id

Return Value

EntryResult

at line 23
array|Collection get(string|null $type, EntryQueryOptions $options)

Return all the entries of a given type.

Parameters

string|null $type
EntryQueryOptions $options

Return Value

array|Collection

at line 28
void store(Collection $entries)

Store the given entries.

Parameters

Collection $entries

Return Value

void

at line 33
Collection|null update(Collection $updates)

Store the given entry updates and return the failed updates.

Parameters

Collection $updates

Return Value

Collection|null

at line 38
void loadMonitoredTags()

Load the monitored tags from storage.

Return Value

void

at line 43
bool isMonitoring(array $tags)

Determine if any of the given tags are currently being monitored.

Parameters

array $tags

Return Value

bool

at line 48
array monitoring()

Get the list of tags currently being monitored.

Return Value

array

at line 53
void monitor(array $tags)

Begin monitoring the given list of tags.

Parameters

array $tags

Return Value

void

at line 58
void stopMonitoring(array $tags)

Stop monitoring the given list of tags.

Parameters

array $tags

Return Value

void