public function escapeAndQuote($value)
    {
        if (null === $value) {
            $pdoType = \PDO::PARAM_NULL;
        } else {
            $pdoType = \PDO::PARAM_STR;
        }

        return $this->getPdo()->quote($value, $pdoType);
    }
public function escapeAndQuote($value)
    {
        if (null === $value) {
            $pdoType = \PDO::PARAM_NULL;
        } else {
            $pdoType = \PDO::PARAM_STR;
        }

        return $this->getPdo()->quote($value, $pdoType);
    }
public function escapeAndQuote ( $ value ) { if ( null === $ value ) { $ pdoType = \ PDO :: PARAM_NULL ; } else { $ pdoType = \ PDO :: PARAM_STR ; } return $ this -> getPdo ( ) -> quote ( $ value , $ pdoType ) ; }
Escapes and quotes provided scalar value.

@param string $value Value to be escaped and quoted.
@return string The escaped and quoted value.
@throws \RuntimeException
Escapes and quotes provided scalar value .