original_string: protected function getRevisionableItems(array $values)
      {
          if (count($this->getRevisionable()) > 0) {
              return array_intersect_key($values, array_flip($this->getRevisionable()));
          }
  
          return array_diff_key($values, array_flip($this->getNonRevisionable()));
      }
code: protected function getRevisionableItems(array $values)
      {
          if (count($this->getRevisionable()) > 0) {
              return array_intersect_key($values, array_flip($this->getRevisionable()));
          }
  
          return array_diff_key($values, array_flip($this->getNonRevisionable()));
      }
code_tokens: protected function getRevisionableItems ( array $ values ) { if ( count ( $ this -> getRevisionable ( ) ) > 0 ) { return array_intersect_key ( $ values , array_flip ( $ this -> getRevisionable ( ) ) ) ; } return array_diff_key ( $ values , array_flip ( $ this -> getNonRevisionable ( ) ) ) ; }
docstring: Get an array of revisionable attributes.
  
  @param array $values
  
  @return array
docstring_tokens: Get an array of revisionable attributes .