ComunicAPI/helpers/database.php

15 lines
204 B
PHP
Raw Permalink Normal View History

2018-07-02 10:03:33 +00:00
<?php
/**
* Database helper
*
* @author Pierre HUBERT
*/
/**
* Get and return database object
*
* @param DBLibrary The database object
*/
function db() : DBLibrary {
return CS::get()->db;
}