class GatesController extends EntryController

Methods

string
entryType()

The entry type for the controller.

string
watcher()

The watcher class for the controller.

array
index(Request $request, EntriesRepository $storage)

List the entries of the given type.

array
show(EntriesRepository $storage, string $id)

Get an entry with the given ID.

string
status()

Determine the watcher recording status.

Details

at line 15
protected string entryType()

The entry type for the controller.

Return Value

string

at line 23
protected string watcher()

The watcher class for the controller.

Return Value

string

in EntryController at line 26
array index(Request $request, EntriesRepository $storage)

List the entries of the given type.

Parameters

Request $request
EntriesRepository $storage

Return Value

array

in EntryController at line 40
array show(EntriesRepository $storage, string $id)

Get an entry with the given ID.

Parameters

EntriesRepository $storage
string $id

Return Value

array

in EntryController at line 53
protected string status()

Determine the watcher recording status.

Return Value

string