_platformMock) { $this->_platformMock = new DatabasePlatformMock; } return $this->_platformMock; } /** * @override */ public function getSchemaManager(\Doctrine\DBAL\Connection $conn) { return new SchemaManagerMock($conn); } /* MOCK API */ public function setDatabasePlatform(\Doctrine\DBAL\Platforms\AbstractPlatform $platform) { $this->_platformMock = $platform; } public function getName() { return 'mock'; } public function getDatabase(\Doctrine\DBAL\Connection $conn) { return; } }