src/bbn/appui/history.php
private static function _get_databases(): ?databases
  {
    if ( self::check() ){
      if ( !self::$databases_obj && ($db = self::_get_db()) ){
        self::$databases_obj = new databases($db);
      }
      return self::$databases_obj;
    }
    return null;
  }
private static function _get_databases(): ?databases
  {
    if ( self::check() ){
      if ( !self::$databases_obj && ($db = self::_get_db()) ){
        self::$databases_obj = new databases($db);
      }
      return self::$databases_obj;
    }
    return null;
  }
private static function _get_databases ( ) : ? databases { if ( self :: check ( ) ) { if ( ! self :: $ databases_obj && ( $ db = self :: _get_db ( ) ) ) { self :: $ databases_obj = new databases ( $ db ) ; } return self :: $ databases_obj ; } return null ; }
Returns an instance of the appui\database class.

@return databases
Returns an instance of the appui \ database class .