src/Cache/CacheDataBase.php
public function setConnection($nameDB, $table){
        $this->nameDB= $nameDB;
        $this->table= $table;
        $this->connection= $this->connection->changeConnection($nameDB);
    }
public function setConnection($nameDB, $table){
        $this->nameDB= $nameDB;
        $this->table= $table;
        $this->connection= $this->connection->changeConnection($nameDB);
    }
public function setConnection ( $ nameDB , $ table ) { $ this -> nameDB = $ nameDB ; $ this -> table = $ table ; $ this -> connection = $ this -> connection -> changeConnection ( $ nameDB ) ; }
Setea la conexion a la base de datos en base a la definicion seleccionada y la tabla indicada
@param string $nameDB
@param string $table
Setea la conexion a la base de datos en base a la definicion seleccionada y la tabla indicada