# MongoDB\BSON\JavascriptInterface::getScope

(mongodb >=1.3.0)

MongoDB\BSON\JavascriptInterface::getScope — Returns the JavascriptInterface's scope document

### 说明

abstract public MongoDB\BSON\JavascriptInterface::getScope(): ?object

### 参数

此函数没有参数。

### 返回值

Returns the JavascriptInterface's scope document.

### 参见

- MongoDB\BSON\Javascript::getScope() - Returns the Javascript's scope document

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open