MongoId::isValidCheck if a value is a valid ObjectId
Description
public static bool MongoId::isValid
( mixed
$value
)This method may be used to check a variable before passing it as an argument to MongoId::__construct. Parameters
Return Values
Returns |