original_string: protected function doesStartOrEndWithSingleQuote($name)
      {
          $startsWithSingleQuote = ($this->stringHelper->getCharFirstOccurrencePosition('\'', $name) === 0);
          $endsWithSingleQuote = ($this->stringHelper->getCharLastOccurrencePosition('\'', $name) === ($this->stringHelper->getStringLength($name) - 1));
  
          return ($startsWithSingleQuote || $endsWithSingleQuote);
      }
code: protected function doesStartOrEndWithSingleQuote($name)
      {
          $startsWithSingleQuote = ($this->stringHelper->getCharFirstOccurrencePosition('\'', $name) === 0);
          $endsWithSingleQuote = ($this->stringHelper->getCharLastOccurrencePosition('\'', $name) === ($this->stringHelper->getStringLength($name) - 1));
  
          return ($startsWithSingleQuote || $endsWithSingleQuote);
      }
code_tokens: protected function doesStartOrEndWithSingleQuote ( $ name ) { $ startsWithSingleQuote = ( $ this -> stringHelper -> getCharFirstOccurrencePosition ( '\'' , $ name ) === 0 ) ; $ endsWithSingleQuote = ( $ this -> stringHelper -> getCharLastOccurrencePosition ( '\'' , $ name ) === ( $ this -> stringHelper -> getStringLength ( $ name ) - 1 ) ) ; return ( $ startsWithSingleQuote || $ endsWithSingleQuote ) ; }
docstring: Returns whether the given name starts or ends with a single quote
  
  @param string $name
  @return bool TRUE if the name starts or ends with a single quote, FALSE otherwise.
docstring_tokens: Returns whether the given name starts or ends with a single quote