MongoDB\BSON\Regex::serialize

(mongodb >=1.2.0)

MongoDB\BSON\Regex::serializeSerialize a Regex

Description

final public MongoDB\BSON\Regex::serialize ( void ) : string

Parameters

This function has no parameters.

Return Values

Returns the serialized representation of the MongoDB\BSON\Regex.

Errors/Exceptions

See Also