def _ToMethodName(self, method, resource):
    s = method['wireName']
    if resource and (s.lower() in PhpLanguageModel.PHP_KEYWORDS):
      s += resource['className']
    return s
Dictionary style indexing.
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/php_generator.py/PHPGenerator._ToMethodName--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/cgi.py/FieldStorage.__getitem__