original_string: protected function getDistinctValues($attribute)
      {
          $attributeName = $this->getPrimaryAttribute($attribute);
  
          if (! property_exists($this, 'distinctValues')) {
              return $this->extractDistinctValues($attributeName);
          }
  
          if (! array_key_exists($attributeName, $this->distinctValues)) {
              $this->distinctValues[$attributeName] = $this->extractDistinctValues($attributeName);
          }
  
          return $this->distinctValues[$attributeName];
      }
code: protected function getDistinctValues($attribute)
      {
          $attributeName = $this->getPrimaryAttribute($attribute);
  
          if (! property_exists($this, 'distinctValues')) {
              return $this->extractDistinctValues($attributeName);
          }
  
          if (! array_key_exists($attributeName, $this->distinctValues)) {
              $this->distinctValues[$attributeName] = $this->extractDistinctValues($attributeName);
          }
  
          return $this->distinctValues[$attributeName];
      }
code_tokens: protected function getDistinctValues ( $ attribute ) { $ attributeName = $ this -> getPrimaryAttribute ( $ attribute ) ; if ( ! property_exists ( $ this , 'distinctValues' ) ) { return $ this -> extractDistinctValues ( $ attributeName ) ; } if ( ! array_key_exists ( $ attributeName , $ this -> distinctValues ) ) { $ this -> distinctValues [ $ attributeName ] = $ this -> extractDistinctValues ( $ attributeName ) ; } return $ this -> distinctValues [ $ attributeName ] ; }
docstring: Get the values to distinct between.
  
  @param  string  $attribute
  @return array
docstring_tokens: Get the values to distinct between .