original_string: protected function generateGetterName(string $propertyName) : string
      {
          static $methods = [];
  
          if (isset($methods[$propertyName])) {
              return $methods[$propertyName];
          }
  
          $method = 'get' . ucfirst(Str::camel($propertyName));
          $methods[$propertyName] = $method;
  
          return $method;
      }
code: protected function generateGetterName(string $propertyName) : string
      {
          static $methods = [];
  
          if (isset($methods[$propertyName])) {
              return $methods[$propertyName];
          }
  
          $method = 'get' . ucfirst(Str::camel($propertyName));
          $methods[$propertyName] = $method;
  
          return $method;
      }
code_tokens: protected function generateGetterName ( string $ propertyName ) : string { static $ methods = [ ] ; if ( isset ( $ methods [ $ propertyName ] ) ) { return $ methods [ $ propertyName ] ; } $ method = 'get' . ucfirst ( Str :: camel ( $ propertyName ) ) ; $ methods [ $ propertyName ] = $ method ; return $ method ; }
docstring: Generate and return a 'getter' name, based upon the given
  property name
  
  <b>Example</b><br />
  <pre>
  $propertyName = 'logger';
  return generateGetterName($propertyName) // Returns getLogger
  </pre>
  
  @param string $propertyName Name of a given property
  
  @return string Getter method name
docstring_tokens: Generate and return a getter name based upon the given property name