(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Serializable::serialize — String representation of object
Should return the string representation of the object.
У цієї функції немає параметрів.
Returns the string representation of the object or null
null
Throws Exception when returning other types than strings and null.