protected function updateConnection($connection)
    {
        if ($this->connection !== $connection) {
            $this->connection  = $connection;
            $this->schemaSetUp = false;
        }

        return $this;
    }
protected function updateConnection($connection)
    {
        if ($this->connection !== $connection) {
            $this->connection  = $connection;
            $this->schemaSetUp = false;
        }

        return $this;
    }
protected function updateConnection ( $ connection ) { if ( $ this -> connection !== $ connection ) { $ this -> connection = $ connection ; $ this -> schemaSetUp = false ; } return $ this ; }
Updates the connection name to use.

@param null|string $connection
@return $this
Updates the connection name to use .