MongoDB\BSON\ObjectID::__toString
MongoDB\BSON\Regex::__construct
MongoDB\BSON
PHP Manual
The MongoDB\BSON\Regex class
(mongodb >=1.0.0)
Introduction
Class synopsis
MongoDB\BSON\Regex
implements
MongoDB\BSON\Type
{
/* Methods */
final
public
__construct
(
string
$pattern
,
string
$flags
)
final
public
ReturnType
getFlags
(
void
)
final
public
string
getPattern
(
void
)
final
public
string
__toString
(
void
)
}
Table of Contents
MongoDB\BSON\Regex::__construct
— Construct a new Regex
MongoDB\BSON\Regex::getFlags
— Returns the Regex's flags
MongoDB\BSON\Regex::getPattern
— Returns the Regex's pattern
MongoDB\BSON\Regex::__toString
— Returns the string representation of this Regex
MongoDB\BSON\ObjectID::__toString
MongoDB\BSON\Regex::__construct
MongoDB\BSON
PHP Manual