public function getSqlTablesArray()
    {
        $names = Yii::$app->db->schema->tableNames;
    
        return array_combine($names, $names);
    }
public function getSqlTablesArray()
    {
        $names = Yii::$app->db->schema->tableNames;
    
        return array_combine($names, $names);
    }
public function getSqlTablesArray ( ) { $ names = Yii :: $ app -> db -> schema -> tableNames ; return array_combine ( $ names , $ names ) ; }
Get the sql tables from the current database connection

@return array An array with all sql tables.
Get the sql tables from the current database connection