original_string: public function purge($connection = null)
      {
          $connection = $connection ?? $this->tenantName();
  
          $this->db->purge(
              $connection
          );
  
          $this->config->set(
              sprintf('database.connections.%s', $connection),
              []
          );
      }
code: public function purge($connection = null)
      {
          $connection = $connection ?? $this->tenantName();
  
          $this->db->purge(
              $connection
          );
  
          $this->config->set(
              sprintf('database.connections.%s', $connection),
              []
          );
      }
code_tokens: public function purge ( $ connection = null ) { $ connection = $ connection ?? $ this -> tenantName ( ) ; $ this -> db -> purge ( $ connection ) ; $ this -> config -> set ( sprintf ( 'database.connections.%s' , $ connection ) , [ ] ) ; }
docstring: Purges the current tenant connection.
  @param null $connection
docstring_tokens: Purges the current tenant connection .