ApiDateTime
class ApiDateTime extends DateTimeImmutable
ApiDateTime 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.
Details
at line 25
string
formatForJson()
Formats the string for an easier interoperability with Contentful.
at line 43
string
__toString()
Returns a string representation of the current object.