Skip to content

Commit 0a6f956

Browse files
committed
update doc-blocks
1 parent bd21e8a commit 0a6f956

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

lib/ezFunctions.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ function sqliteInstance(array $databaseSetting = null, string $instanceTag = nul
9696
return \database(\SQLITE3, $databaseSetting, $instanceTag);
9797
}
9898

99+
/**
100+
* Returns the current global database vendor being used.
101+
*
102+
* @return string|null `mysqli`|`pgsql`|`sqlite3`|`sqlsrv`
103+
*/
99104
function getVendor()
100105
{
101106
return ezSchema::vendor();

lib/ezSchema.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ public function __call($type, $args)
153153
return $data;
154154
}
155155

156+
/**
157+
* Returns the current global database vendor being used.
158+
*
159+
* @return string|null `mysqli`|`pgsql`|`sqlite3`|`sqlsrv`
160+
*/
156161
public static function vendor()
157162
{
158163
$type = null;

0 commit comments

Comments
 (0)