TestMockDatabaseDriver::mockQuote
Mocking the quote method.
Signature
public function mockQuote(string
$value,
[boolean
$escape = true] )
Parameters
-
$value
- The value to be quoted.
-
$escape
- Optional parameter to provide extra escaping.
Returns
- string
- The value passed wrapped in MySQL quotes.