ComunicAPI/helpers/database.php
2018-07-02 12:03:33 +02:00

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;
}