trait EditedTrait

Traits

Properties

protected int $revision from RevisionTrait
protected DateTimeImmutable $createdAt
protected DateTimeImmutable $updatedAt

Methods

initRevision(array $data)

No description

jsonSerializeRevision(string $name = 'revision')

No description

getRevision()

No description

initEdited(array $data)

No description

jsonSerializeEdited()

No description

getCreatedAt()

No description

getUpdatedAt()

No description

Details

in RevisionTrait at line 21
protected initRevision(array $data)

Parameters

array $data

in RevisionTrait at line 26
protected jsonSerializeRevision(string $name = 'revision')

Parameters

string $name

in RevisionTrait at line 33
getRevision()

at line 30
protected initEdited(array $data)

Parameters

array $data

at line 37
protected jsonSerializeEdited()

at line 45
getCreatedAt()

at line 50
getUpdatedAt()