DeletedResource
class DeletedResource implements JsonSerializable
A DeletedResource encodes metadata about a deleted resource.
Properties
| protected SystemProperties | $sys | 
Methods
Returns the ID of the resource.
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
        at         line 29
                            
    __construct(SystemProperties $sys)
        
    
    DeletedResource constructor.
        at         line 39
                            string
    getId()
        
    
    Returns the ID of the resource.
        at         line 49
                            Space
    getSpace()
        
    
    Returns the space the resource used to belong to.
        at         line 59
                            int
    getRevision()
        
    
    Returns the last revision of the resource before it was deleted.
        at         line 69
                            DateTimeImmutable
    getUpdatedAt()
        
    
    Returns the time when the resource was updated.
        at         line 79
                            DateTimeImmutable
    getCreatedAt()
        
    
    Returns the time when the resource was created.
        at         line 89
                            DateTimeImmutable
    getDeletedAt()
        
    
    Returns the time when the resource was deleted.
        at         line 101
                            object
    jsonSerialize()
        
    
    Returns an object to be used by json_encode to serialize objects of this class.