interface TagRepository

Methods

array
monitoring()

Get the currently monitored tags.

array
monitored(array $tags)

Return the tags which are being monitored.

void
monitor(string $tag)

Start monitoring the given tag.

void
stopMonitoring(string $tag)

Stop monitoring the given tag.

void
add(string $id, array $tags)

Store the tags for the given job.

void
addTemporary(int $minutes, string $id, array $tags)

Store the tags for the given job temporarily.

int
count(string $tag)

Get the number of jobs matching a given tag.

array
jobs(string $tag)

Get all of the job IDs for a given tag.

array
paginate(string $tag, int $startingAt = 0, int $limit = 25)

Paginate the job IDs for a given tag.

void
forget(string $tag)

Delete the given tag from storage.

Details

at line 12
array monitoring()

Get the currently monitored tags.

Return Value

array

at line 17
array monitored(array $tags)

Return the tags which are being monitored.

Parameters

array $tags

Return Value

array

at line 22
void monitor(string $tag)

Start monitoring the given tag.

Parameters

string $tag

Return Value

void

at line 27
void stopMonitoring(string $tag)

Stop monitoring the given tag.

Parameters

string $tag

Return Value

void

at line 32
void add(string $id, array $tags)

Store the tags for the given job.

Parameters

string $id
array $tags

Return Value

void

at line 37
void addTemporary(int $minutes, string $id, array $tags)

Store the tags for the given job temporarily.

Parameters

int $minutes
string $id
array $tags

Return Value

void

at line 42
int count(string $tag)

Get the number of jobs matching a given tag.

Parameters

string $tag

Return Value

int

at line 47
array jobs(string $tag)

Get all of the job IDs for a given tag.

Parameters

string $tag

Return Value

array

at line 52
array paginate(string $tag, int $startingAt = 0, int $limit = 25)

Paginate the job IDs for a given tag.

Parameters

string $tag
int $startingAt
int $limit

Return Value

array

at line 57
void forget(string $tag)

Delete the given tag from storage.

Parameters

string $tag

Return Value

void