.
*/
namespace SP\Tests\Stubs;
/**
* A PDO stub that overrides some unimplementd methods from \Pseudo\Pdo
*/
class Pdo extends \Pseudo\Pdo
{
/**
* (PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.1)
* Quotes a string for use in a query.
*
* @link https://php.net/manual/en/pdo.quote.php
*
* @param string $string
* The string to be quoted. *
* @param int $type [optional]* Provides a data type hint for drivers that have alternate quoting styles. *
* * @return string|false a quoted string that is theoretically safe to pass into an * SQL statement. Returns FALSE if the driver does not support quoting in * this way. */ public function quote($string, $parameter_type = self::PARAM_STR) { return $string; } }