|
MongoDB\BSON\Javascript::getScopeReturns the Javascript's scope document Beschreibung
final public object|null MongoDB\BSON\Javascript::getScope
( void
)
Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteReturns the Javascript's scope document. Fehler/Exceptions
BeispieleBeispiel #1 MongoDB\BSON\Javascript::getScope example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
NULL
object(stdClass)#1 (1) {
["foo"]=>
int(42)
}
Siehe auch |