Mongolid\Serializer\Type\UTCDateTime::__toString PHP Méthode

__toString() public méthode

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