SQLiteDriver.php
TLDR
This file contains the implementation of the SQLiteDriver
class, which extends the AbstractSQLiteDriver
class. It also includes the ConnectsToDatabase
trait and implements the getName()
method.
Classes
SQLiteDriver
This class extends the AbstractSQLiteDriver
class and includes the ConnectsToDatabase
trait. It provides the implementation for the getName()
method, which returns the string 'pdo_sqlite'.
<?php
namespace Illuminate\Database\PDO;
use Doctrine\DBAL\Driver\AbstractSQLiteDriver;
use Illuminate\Database\PDO\Concerns\ConnectsToDatabase;
class SQLiteDriver extends AbstractSQLiteDriver
{
use ConnectsToDatabase;
/**
* {@inheritdoc}
*/
public function getName()
{
return 'pdo_sqlite';
}
}