class Asset extends LocalizedResource

Traits

Properties

protected string $id from BaseSystemProperties
protected string $type from BaseSystemProperties
protected int $revision from RevisionTrait
protected DateTimeImmutable $createdAt from EditedTrait
protected DateTimeImmutable $updatedAt from EditedTrait
protected Environment $environment from EnvironmentTrait
protected string|null $locale from LocaleTrait
protected Space $space from SpaceTrait

Methods

__construct(array $sys)

LocalizedResource constructor.

getId()

No description

getType()

No description

jsonSerialize()

{@inheritdoc}

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

initEnvironment(array $data)

No description

getEnvironment()

No description

initLocale(array $data)

No description

jsonSerializeLocale()

No description

string|null
getLocale()

No description

initSpace(array $data)

No description

jsonSerializeSpace()

No description

getSpace()

No description

Details

in LocalizedResource at line 27
__construct(array $sys)

LocalizedResource constructor.

Parameters

array $sys

in BaseSystemProperties at line 40
getId()

in BaseSystemProperties at line 45
getType()

in LocalizedResource at line 40
jsonSerialize()

{@inheritdoc}

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()

in EditedTrait at line 30
protected initEdited(array $data)

Parameters

array $data

in EditedTrait at line 37
protected jsonSerializeEdited()

in EditedTrait at line 45
getCreatedAt()

in EditedTrait at line 50
getUpdatedAt()

in EnvironmentTrait at line 23
protected initEnvironment(array $data)

Parameters

array $data

in EnvironmentTrait at line 28
protected jsonSerializeEnvironment()

in EnvironmentTrait at line 35
getEnvironment()

in LocaleTrait at line 21
protected initLocale(array $data)

Parameters

array $data

in LocaleTrait at line 26
protected jsonSerializeLocale()

in LocaleTrait at line 36
string|null getLocale()

Return Value

string|null

in SpaceTrait at line 23
protected initSpace(array $data)

Parameters

array $data

in SpaceTrait at line 28
protected jsonSerializeSpace()

in SpaceTrait at line 35
getSpace()