Skip to content

Commit 2bb5d2e

Browse files
terabytesoftwdevanych
authored andcommitted
Add getDriverName() method in Connection::class. (#31)
1 parent 7f12360 commit 2bb5d2e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Connection.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,14 @@ protected function initConnection(): void
9797
}
9898
}
9999
}
100+
101+
/**
102+
* Returns the name of the DB driver.
103+
*
104+
* @return string name of the DB driver
105+
*/
106+
public function getDriverName(): string
107+
{
108+
return 'sqlite';
109+
}
100110
}

0 commit comments

Comments
 (0)