original_string: public function getColorWithHash()
      {
          $color = $this->owner->Color;
          if (strpos($color, '#') === false) {
              return '#' . $color;
          } else {
              return $color;
          }
      }
code: public function getColorWithHash()
      {
          $color = $this->owner->Color;
          if (strpos($color, '#') === false) {
              return '#' . $color;
          } else {
              return $color;
          }
      }
code_tokens: public function getColorWithHash ( ) { $ color = $ this -> owner -> Color ; if ( strpos ( $ color , '#' ) === false ) { return '#' . $ color ; } else { return $ color ; } }
docstring: Getter that always returns the color with a hash
  As the standard Silverstripe color picker seems to save colors without a hash,
  this just makes sure that colors are always returned with a hash - whether they've been
  saved with or without one
docstring_tokens: Getter that always returns the color with a hash As the standard Silverstripe color picker seems to save colors without a hash this just makes sure that colors are always returned with a hash - whether they ve been saved with or without one