DeletedAsset
class DeletedAsset extends DeletedResource
A DeletedAsset describes an asset that has been deleted.
Properties
protected SystemProperties | $sys | from DeletedResource |
Methods
Returns the last revision of the resource before it was deleted.
Returns the time when the resource was updated.
Returns the time when the resource was created.
Returns the time when the resource was deleted.
Returns an object to be used by json_encode
to serialize objects of this class.
Details
in DeletedResource at line 29
__construct(SystemProperties $sys)
DeletedResource constructor.
in DeletedResource at line 39
string
getId()
Returns the ID of the resource.
in DeletedResource at line 49
Space
getSpace()
Returns the space the resource used to belong to.
in DeletedResource at line 59
int
getRevision()
Returns the last revision of the resource before it was deleted.
in DeletedResource at line 69
DateTimeImmutable
getUpdatedAt()
Returns the time when the resource was updated.
in DeletedResource at line 79
DateTimeImmutable
getCreatedAt()
Returns the time when the resource was created.
in DeletedResource at line 89
DateTimeImmutable
getDeletedAt()
Returns the time when the resource was deleted.
in DeletedResource at line 101
object
jsonSerialize()
Returns an object to be used by json_encode
to serialize objects of this class.