mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
15 lines
204 B
PHP
15 lines
204 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Database helper
|
||
|
*
|
||
|
* @author Pierre HUBERT
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Get and return database object
|
||
|
*
|
||
|
* @param DBLibrary The database object
|
||
|
*/
|
||
|
function db() : DBLibrary {
|
||
|
return CS::get()->db;
|
||
|
}
|