MongoDB\Model\IndexInfo::getNamespace()
On this page
Definition
Return Values
The index namespace.
Examples
$info = new IndexInfo([ 'ns' => 'foo.bar', ]); echo $info->getNamespace();
The output would then resemble:
foo.bar
See Also
listIndexes command reference in the MongoDB manual