(self, s, unused_element, element_type=None)
return utilities.CamelCase(s)
Convert a discovery name to a suitable PHP class name.

    Overrides the default.

    Args:
      s: (string) The wire format name of a class.
      unused_element: (object) The object we need a class name for.
      element_type: (string) The kind of object we need a class name for.
    Returns:
      A name suitable for use as a class in PHP.
Convert a discovery name to a suitable PHP class name.
Convert a discovery name to a suitable PHP class name .
def ToClassName(self, s, unused_element, element_type=None):
    """Convert a discovery name to a suitable PHP class name.

    Overrides the default.

    Args:
      s: (string) The wire format name of a class.
      unused_element: (object) The object we need a class name for.
      element_type: (string) The kind of object we need a class name for.
    Returns:
      A name suitable for use as a class in PHP.
    """
    if s.lower() in PhpLanguageModel.RESERVED_CLASS_NAMES:
      # Prepend the service name.
      return utilities.CamelCase(self.values['name']) + utilities.CamelCase(s)
    return utilities.CamelCase(s)
def ToClassName ( self , s , unused_element , element_type = None ) : if s . lower ( ) in PhpLanguageModel . RESERVED_CLASS_NAMES : # Prepend the service name. return utilities . CamelCase ( self . values [ 'name' ] ) + utilities . CamelCase ( s ) return utilities . CamelCase ( s )