original_string: public function setTable($table)
      {
          if (!is_array($table)
              && !($table instanceof DataTableInterface)
          ) {
              throw new Exception("DataTable renderers renderer accepts only DataTable, Simple and Map instances, and arrays.");
          }
          $this->table = $table;
      }
code: public function setTable($table)
      {
          if (!is_array($table)
              && !($table instanceof DataTableInterface)
          ) {
              throw new Exception("DataTable renderers renderer accepts only DataTable, Simple and Map instances, and arrays.");
          }
          $this->table = $table;
      }
code_tokens: public function setTable ( $ table ) { if ( ! is_array ( $ table ) && ! ( $ table instanceof DataTableInterface ) ) { throw new Exception ( "DataTable renderers renderer accepts only DataTable, Simple and Map instances, and arrays." ) ; } $ this -> table = $ table ; }
docstring: Set the DataTable to be rendered
  
  @param DataTable|Simple|DataTable\Map $table table to be rendered
  @throws Exception
docstring_tokens: Set the DataTable to be rendered