original_string: private function camelize($string, $lower = true)
      {
          $words = explode('_', strtolower($string));
  
          $camelized = '';
  
          foreach ($words as $word) {
              if (strpos($word, '_') === false) {
                  $camelized .= ucfirst(trim($word));
              }
          }
  
          return ($lower) ? lcfirst($camelized) : $camelized;
      }
code: private function camelize($string, $lower = true)
      {
          $words = explode('_', strtolower($string));
  
          $camelized = '';
  
          foreach ($words as $word) {
              if (strpos($word, '_') === false) {
                  $camelized .= ucfirst(trim($word));
              }
          }
  
          return ($lower) ? lcfirst($camelized) : $camelized;
      }
code_tokens: private function camelize ( $ string , $ lower = true ) { $ words = explode ( '_' , strtolower ( $ string ) ) ; $ camelized = '' ; foreach ( $ words as $ word ) { if ( strpos ( $ word , '_' ) === false ) { $ camelized .= ucfirst ( trim ( $ word ) ) ; } } return ( $ lower ) ? lcfirst ( $ camelized ) : $ camelized ; }
docstring: Convert underscored string to lower|upper camelCase
  
  @param string $string An underscored string
  @param bool   $lower
  
  @return string
  
  @example my_great_key -> myGreatKey|MyGreatKey
docstring_tokens: Convert underscored string to lower|upper camelCase