original_string: public function setIoClass($class)
    {
      $prev = $this->configuration['io_class'];
      if (!isset($this->configuration['classes'][$class]) &&
          isset($this->configuration['classes'][$prev])) {
        $this->configuration['classes'][$class] =
            $this->configuration['classes'][$prev];
      }
      $this->configuration['io_class'] = $class;
    }
code: public function setIoClass($class)
    {
      $prev = $this->configuration['io_class'];
      if (!isset($this->configuration['classes'][$class]) &&
          isset($this->configuration['classes'][$prev])) {
        $this->configuration['classes'][$class] =
            $this->configuration['classes'][$prev];
      }
      $this->configuration['io_class'] = $class;
    }
code_tokens: public function setIoClass ( $ class ) { $ prev = $ this -> configuration [ 'io_class' ] ; if ( ! isset ( $ this -> configuration [ 'classes' ] [ $ class ] ) && isset ( $ this -> configuration [ 'classes' ] [ $ prev ] ) ) { $ this -> configuration [ 'classes' ] [ $ class ] = $ this -> configuration [ 'classes' ] [ $ prev ] ; } $ this -> configuration [ 'io_class' ] = $ class ; }
docstring: Set the IO class.
  
  @param $class string the class name to set
docstring_tokens: Set the IO class .