This repository has been archived on 2025-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dumbo/vendor/laravel/framework/src/Illuminate/Database/SQLiteConnection.php
2014-11-25 16:42:40 +01:00

35 lines
745 B
PHP
Executable File

<?php namespace Illuminate\Database;
class SQLiteConnection extends Connection {
/**
* Get the default query grammar instance.
*
* @return \Illuminate\Database\Query\Grammars\Grammars\Grammar
*/
protected function getDefaultQueryGrammar()
{
return $this->withTablePrefix(new Query\Grammars\SQLiteGrammar);
}
/**
* Get the default schema grammar instance.
*
* @return \Illuminate\Database\Schema\Grammars\Grammar
*/
protected function getDefaultSchemaGrammar()
{
return $this->withTablePrefix(new Schema\Grammars\SQLiteGrammar);
}
/**
* Get the Doctrine DBAL Driver.
*
* @return \Doctrine\DBAL\Driver
*/
protected function getDoctrineDriver()
{
return new \Doctrine\DBAL\Driver\PDOSqlite\Driver;
}
}