#NEWLINE# def GetCodeTypeFromDictionary( self , def_dict ) : #NEWLINE# #INDENT# 'Convert a json primitive type to a suitable PHP type name.\n\n    Overrides the default.\n\n    Args:\n      def_dict: (dict) A dictionary describing Json schema for this Property.\n    Returns:\n      A name suitable for use as a class in PHP.\n    ' #NEWLINE# json_type = def_dict . get ( 'type' , 'string' ) #NEWLINE# json_format = def_dict . get ( 'format' ) #NEWLINE# php_type = ( self . _SCHEMA_TYPE_TO_PHP_TYPE . get ( json_format ) or self . _SCHEMA_TYPE_TO_PHP_TYPE . get ( json_type , json_type ) ) #NEWLINE# return php_type