Mongolid\Serializer\Type\UTCDateTime::__toString PHP Метод

__toString() публичный Метод

Allows casting to string utilizing drivers UTCDateTime implementation.
public __toString ( ) : string
Результат string Returns the string representation of this UTCDateTime.
    public function __toString()
    {
        return (string) $this->convert();
    }