protected function switchToDestinationConnection()
    {   $env = env(
            $this->composeDestinationConnectionEnvVarByCurrentPeriodInProcess(),
            $this->composeDestinationConnectionNameByCurrentPeriodInProcess()
        );
        $this->switchConnection($env,$this->getDestinationConnection());
    }
protected function switchToDestinationConnection()
    {   $env = env(
            $this->composeDestinationConnectionEnvVarByCurrentPeriodInProcess(),
            $this->composeDestinationConnectionNameByCurrentPeriodInProcess()
        );
        $this->switchConnection($env,$this->getDestinationConnection());
    }
protected function switchToDestinationConnection ( ) { $ env = env ( $ this -> composeDestinationConnectionEnvVarByCurrentPeriodInProcess ( ) , $ this -> composeDestinationConnectionNameByCurrentPeriodInProcess ( ) ) ; $ this -> switchConnection ( $ env , $ this -> getDestinationConnection ( ) ) ; }
Switch to current destination connection in process.
Switch to current destination connection in process .