protected function dbName()
    {

        $dbName = "default";
        $config = $this::$config;
        $configs = ConnectionManager::config($config);
        if ($configs) {
            $dbName = $configs['connection']['database'];
        }

        return $dbName;
    }
protected function dbName()
    {

        $dbName = "default";
        $config = $this::$config;
        $configs = ConnectionManager::config($config);
        if ($configs) {
            $dbName = $configs['connection']['database'];
        }

        return $dbName;
    }
protected function dbName ( ) { $ dbName = "default" ; $ config = $ this :: $ config ; $ configs = ConnectionManager :: config ( $ config ) ; if ( $ configs ) { $ dbName = $ configs [ 'connection' ] [ 'database' ] ; } return $ dbName ; }
Get current database name

@return string
Get current database name