class MongoCode (View source)

Properties

string $code
array $scope

Methods

__construct(string $code, array $scope = [])

No description

string
__toString()

Returns this code as a string

Details

__construct(string $code, array $scope = [])

.

Parameters

string $code

A string of code

array $scope

The scope to use for the code

string __toString()

Returns this code as a string

Return Value

string