class EntryUpdate

Properties

array $tagsChanges

The changes to be applied on the tags.

Methods

__construct(string $uuid, string $type, array $changes)

Create a new incoming entry instance.

static EntryUpdate
make(mixed ...$arguments)

Create a new entry update instance.

change(array $changes)

Set the properties that should be updated.

addTags(array $tags)

Add tags to the entry.

removeTags(array $tags)

Remove tags from the entry.

Details

at line 21
__construct(string $uuid, string $type, array $changes)

Create a new incoming entry instance.

Parameters

string $uuid

the entry's UUID

string $type

the entry's type

array $changes

the properties that should be updated on the entry

at line 31
static EntryUpdate make(mixed ...$arguments)

Create a new entry update instance.

Parameters

mixed ...$arguments

Return Value

EntryUpdate

at line 39
EntryUpdate change(array $changes)

Set the properties that should be updated.

Parameters

array $changes

Return Value

EntryUpdate

at line 49
EntryUpdate addTags(array $tags)

Add tags to the entry.

Parameters

array $tags

Return Value

EntryUpdate

at line 61
EntryUpdate removeTags(array $tags)

Remove tags from the entry.

Parameters

array $tags

Return Value

EntryUpdate