ContentType
class ContentType extends BaseSystemProperties implements VersionableSystemPropertiesInterface
Traits
Properties
protected string | $id | from BaseSystemProperties | |
protected string | $type | from BaseSystemProperties | |
protected DateTimeImmutable|null | $archivedAt | from ArchivedTrait | |
protected Link|null | $archivedBy | from ArchivedTrait | |
protected Link | $environment | from EnvironmentTrait | |
protected DateTimeImmutable | $createdAt | from CreatedAtTrait | |
protected Link | $createdBy | from CreatedByTrait | |
protected DateTimeImmutable | $updatedAt | from UpdatedAtTrait | |
protected Link | $updatedBy | from UpdatedByTrait | |
protected int | $version | from VersionedTrait | |
protected DateTimeImmutable|null | $firstPublishedAt | from PublishedTrait | |
protected int|null | $publishedCounter | from PublishedTrait | |
protected DateTimeImmutable|null | $publishedAt | from PublishedTrait | |
protected Link|null | $publishedBy | from PublishedTrait | |
protected Link | $space | from SpaceTrait |
Methods
jsonSerialize()
{@inheritdoc}
__construct(array $sys)
ContentType constructor.
Details
in BaseSystemProperties at line 31
protected
init(string $type, string $id)
in BaseSystemProperties at line 37
getId()
in BaseSystemProperties at line 42
getType()
at line 37
jsonSerialize()
{@inheritdoc}
in ArchivedTrait at line 34
protected
initArchived(array $data)
in ArchivedTrait at line 45
protected
jsonSerializeArchived()
in ArchivedTrait at line 57
DateTimeImmutable|null
getArchivedAt()
in ArchivedTrait at line 65
Link|null
getArchivedBy()
in ArchivedTrait at line 73
int|null
getArchivedVersion()
in ArchivedTrait at line 78
isArchived()
in EnvironmentTrait at line 23
protected
initEnvironment(array $data)
in EnvironmentTrait at line 28
protected
jsonSerializeEnvironment()
in EnvironmentTrait at line 35
getEnvironment()
in CreatedAtTrait at line 23
protected
initCreatedAt(array $data)
in CreatedAtTrait at line 28
protected
jsonSerializeCreatedAt()
in CreatedAtTrait at line 35
getCreatedAt()
in CreatedByTrait at line 23
protected
initCreatedBy(array $data)
in CreatedByTrait at line 30
protected
jsonSerializeCreatedBy()
in CreatedByTrait at line 37
getCreatedBy()
in CreatedTrait at line 19
protected
initCreated(array $data)
in CreatedTrait at line 25
protected
jsonSerializeCreated()
in UpdatedAtTrait at line 23
protected
initUpdatedAt(array $data)
in UpdatedAtTrait at line 28
protected
jsonSerializeUpdatedAt()
in UpdatedAtTrait at line 35
getUpdatedAt()
in UpdatedByTrait at line 23
protected
initUpdatedBy(array $data)
in UpdatedByTrait at line 30
protected
jsonSerializeUpdatedBy()
in UpdatedByTrait at line 37
getUpdatedBy()
in UpdatedTrait at line 19
protected
initUpdated(array $data)
in UpdatedTrait at line 25
protected
jsonSerializeUpdated()
in VersionedTrait at line 21
protected
initVersioned(array $data)
in VersionedTrait at line 26
protected
jsonSerializeVersioned()
in VersionedTrait at line 33
getVersion()
in EditedTrait at line 20
protected
initEdited(array $data)
in EditedTrait at line 27
protected
jsonSerializeEdited()
in PublishedTrait at line 46
protected
initPublished(array $data)
in PublishedTrait at line 61
protected
jsonSerializePublished()
in PublishedTrait at line 85
DateTimeImmutable|null
getFirstPublishedAt()
in PublishedTrait at line 93
DateTimeImmutable|null
getPublishedAt()
in PublishedTrait at line 101
Link|null
getPublishedBy()
in PublishedTrait at line 109
int|null
getPublishedCounter()
in PublishedTrait at line 117
int|null
getPublishedVersion()
in PublishedTrait at line 122
isDraft()
in PublishedTrait at line 127
isPublished()
in PublishedTrait at line 132
isUpdated()
in SpaceTrait at line 23
protected
initSpace(array $data)
in SpaceTrait at line 28
protected
jsonSerializeSpace()
in SpaceTrait at line 35
getSpace()
at line 24
__construct(array $sys)
ContentType constructor.