original_string: public function setConfig(array $configs = array() )
    {
      foreach($configs as $config_key => $config)
      {
        switch($config_key)
        {
          case 'table-striped':
            $this->table_striped = $config;
          break;
          case 'table-bordered':
            $this->table_bordered = $config;
          break;
          case 'table-hover':
            $this->table_hover = $config;
          break;
          case 'table-condensed':
            $this->table_condensed = $config;
          break;
          case 'table-responsive':
            $this->table_responsive = $config;
          break;
          case 'id':
            $this->id = $config;
            break;
          default:
            throw new \InvalidArgumentException();
          break;
        }
      }
    }
code: public function setConfig(array $configs = array() )
    {
      foreach($configs as $config_key => $config)
      {
        switch($config_key)
        {
          case 'table-striped':
            $this->table_striped = $config;
          break;
          case 'table-bordered':
            $this->table_bordered = $config;
          break;
          case 'table-hover':
            $this->table_hover = $config;
          break;
          case 'table-condensed':
            $this->table_condensed = $config;
          break;
          case 'table-responsive':
            $this->table_responsive = $config;
          break;
          case 'id':
            $this->id = $config;
            break;
          default:
            throw new \InvalidArgumentException();
          break;
        }
      }
    }
code_tokens: public function setConfig ( array $ configs = array ( ) ) { foreach ( $ configs as $ config_key => $ config ) { switch ( $ config_key ) { case 'table-striped' : $ this -> table_striped = $ config ; break ; case 'table-bordered' : $ this -> table_bordered = $ config ; break ; case 'table-hover' : $ this -> table_hover = $ config ; break ; case 'table-condensed' : $ this -> table_condensed = $ config ; break ; case 'table-responsive' : $ this -> table_responsive = $ config ; break ; case 'id' : $ this -> id = $ config ; break ; default : throw new \ InvalidArgumentException ( ) ; break ; } } }
docstring: Set the configuration of the table
  
  @param  array $config
  @throws InvalidArgumentException
  @return  void
docstring_tokens: Set the configuration of the table