Mongolid\Serializer\Type\UTCDateTime::__toString PHP Method

__toString() public method

Allows casting to string utilizing drivers UTCDateTime implementation.
public __toString ( ) : string
return string Returns the string representation of this UTCDateTime.
    public function __toString()
    {
        return (string) $this->convert();
    }