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

__toString() public method

Returns the hexidecimal representation of this ObjectID.
public __toString ( ) : string
return string
    public function __toString()
    {
        return $this->objectIdString;
    }