DateTimeImmutable
class DateTimeImmutable extends DateTimeImmutable implements JsonSerializable
DateTimeImmutable class.
This class is used for easier conversion to a timestamp that works with Contentful.
Methods
                    string
                
                
                    formatForJson()
        
                                            
                
            Formats the string for an easier interoperability with Contentful.
                    string
                
                
                    __toString()
        
                                            
                
            Returns a string representation of the current object.
                    string
                
                
                    jsonSerialize()
        
                                            
                
            Returns a JSON representation of the current object.
Details
        at         line 26
                            string
    formatForJson()
        
    
    Formats the string for an easier interoperability with Contentful.
        at         line 44
                            string
    __toString()
        
    
    Returns a string representation of the current object.
        at         line 54
                            string
    jsonSerialize()
        
    
    Returns a JSON representation of the current object.