original_string: protected function _fields()
      {
          $schema = $this->_table->getSchema();
          $fields = $schema->columns();
          if ($this->_config['fields'] !== null) {
              $fields = array_intersect($fields, (array)$this->_config['fields']);
          }
  
          return $fields;
      }
code: protected function _fields()
      {
          $schema = $this->_table->getSchema();
          $fields = $schema->columns();
          if ($this->_config['fields'] !== null) {
              $fields = array_intersect($fields, (array)$this->_config['fields']);
          }
  
          return $fields;
      }
code_tokens: protected function _fields ( ) { $ schema = $ this -> _table -> getSchema ( ) ; $ fields = $ schema -> columns ( ) ; if ( $ this -> _config [ 'fields' ] !== null ) { $ fields = array_intersect ( $ fields , ( array ) $ this -> _config [ 'fields' ] ) ; } return $ fields ; }
docstring: Returns an array of fields to be versioned.
  
  @return array
docstring_tokens: Returns an array of fields to be versioned .