MongoDB\BSON\JavascriptInterface
PHP Manual

MongoDB\BSON\JavascriptInterface::__toString

(mongodb >=1.3.0)

MongoDB\BSON\JavascriptInterface::__toStringReturns the JavascriptInterface's code

Description

abstract public string MongoDB\BSON\JavascriptInterface::__toString ( void )

This method is an alias of: MongoDB\BSON\JavascriptInterface::getCode().

Parameters

This function has no parameters.

Return Values

Returns the JavascriptInterface's code.

See Also


MongoDB\BSON\JavascriptInterface
PHP Manual