php8.5
Home/ Manual/ bson / javascriptinterface/ MongoDB\BSON\JavascriptInterface::getScope

MongoDB\BSON\JavascriptInterface::getScope

PHP function Edit on GitHub ✎

(mongodb >=1.3.0)

Returns the JavascriptInterface's scope document

Description

MongoDB\BSON\JavascriptInterface::getScope(): object|null

Parameters Parameters

Return Values

Returns the JavascriptInterface's scope document.

See Also

  • MongoDB\BSON\Javascript::getScope

Source: reference/mongodb/bson/javascriptinterface/getscope.xml · from the official PHP manual (php/doc-en)