Php/docs/mongodb-bson-javascriptinterface.getscope
From Get docs
MongoDB\BSON\JavascriptInterface::getScope
(mongodb >=1.3.0)
MongoDB\BSON\JavascriptInterface::getScope — Returns the JavascriptInterface's scope document
Description
abstract public MongoDB\BSON\JavascriptInterface::getScope ( ) : object|null
Parameters
This function has no parameters.
Return Values
Returns the JavascriptInterface's scope document.