. */ #namespace Doctrine::DBAL::Connections; /** * Doctrine_Connection_Mysql * * @package Doctrine * @subpackage Connection * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @author Konsta Vesterinen * @author Lukas Smith (PEAR MDB2 library) * @version $Revision$ * @link www.phpdoctrine.org * @since 1.0 * @todo Remove. */ class Doctrine_Connection_Mock extends Doctrine_Connection_Common { /** * @var string $driverName the name of this connection driver */ protected $_driverName = 'Mysql'; /** * the constructor * * @param Doctrine_Manager $manager * @param PDO|Doctrine_Adapter $adapter database handler */ public function __construct() { } public function getDatabasePlatform() { return new Doctrine_DatabasePlatform_MySqlPlatform(); } public function quote($input, $type = null) { return $input; } }