Php/docs/mongodb-bson-regexinterface.getpattern

From Get docs

MongoDB\BSON\RegexInterface::getPattern

(mongodb >=1.3.0)

MongoDB\BSON\RegexInterface::getPatternReturns the RegexInterface's pattern


Description

abstract public MongoDB\BSON\RegexInterface::getPattern ( ) : string

Parameters

This function has no parameters.


Return Values

Returns the RegexInterface's pattern.


See Also