Refactor SMS Provider Classes to Support Nullable API Key and Sender
- Updated KavehNegarProvider and RanginehProvider constructors to accept nullable API key and sender parameters. - Adjusted methods in both providers to handle cases where the API key or sender may not be set, preventing potential TypeErrors. - Modified community IDs in graph.json for various entities to reflect updated associations. - Updated manifest.json with new modification times and AST hashes for KavehNegarProvider and RanginehProvider. - Added new AST cache files for KavehNegarProvider and RanginehProvider reflecting the latest structure and relationships.
This commit is contained in:
graphify-out/cache/ast/v0.8.44/ac2d232f590f5ba05c660998266798d71f9878fccb125c0f9252394305ad2334.json
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_provider_ranginehprovider_php", "label": "RanginehProvider.php", "file_type": "code", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L1"}, {"id": "provider_ranginehprovider_ranginehprovider", "label": "RanginehProvider", "file_type": "code", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L7"}, {"id": "smsproviderinterface", "label": "SmsProviderInterface", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "provider_ranginehprovider_ranginehprovider_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L11"}, {"id": "provider_ranginehprovider_ranginehprovider_getname", "label": ".getName()", "file_type": "code", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L19"}, {"id": "provider_ranginehprovider_ranginehprovider_send", "label": ".send()", "file_type": "code", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L21"}, {"id": "provider_ranginehprovider_ranginehprovider_sendtemplate", "label": ".sendTemplate()", "file_type": "code", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L35"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_provider_ranginehprovider_php", "target": "httpclientinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_provider_ranginehprovider_php", "target": "provider_ranginehprovider_ranginehprovider", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L7", "weight": 1.0}, {"source": "provider_ranginehprovider_ranginehprovider", "target": "smsproviderinterface", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L7", "weight": 1.0}, {"source": "provider_ranginehprovider_ranginehprovider", "target": "provider_ranginehprovider_ranginehprovider_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L11", "weight": 1.0}, {"source": "provider_ranginehprovider_ranginehprovider", "target": "provider_ranginehprovider_ranginehprovider_getname", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L19", "weight": 1.0}, {"source": "provider_ranginehprovider_ranginehprovider", "target": "provider_ranginehprovider_ranginehprovider_send", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L21", "weight": 1.0}, {"source": "provider_ranginehprovider_ranginehprovider", "target": "provider_ranginehprovider_ranginehprovider_sendtemplate", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Provider/RanginehProvider.php", "source_location": "L35", "weight": 1.0}], "raw_calls": [{"caller_nid": "provider_ranginehprovider_ranginehprovider_send", "callee": "request", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Provider/RanginehProvider.php", "source_location": "L24", "receiver": null}, {"caller_nid": "provider_ranginehprovider_ranginehprovider_send", "callee": "getStatusCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Provider/RanginehProvider.php", "source_location": "L29", "receiver": null}, {"caller_nid": "provider_ranginehprovider_ranginehprovider_sendtemplate", "callee": "request", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Provider/RanginehProvider.php", "source_location": "L38", "receiver": null}, {"caller_nid": "provider_ranginehprovider_ranginehprovider_sendtemplate", "callee": "getStatusCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Provider/RanginehProvider.php", "source_location": "L47", "receiver": null}]}
|
||||
graphify-out/cache/ast/v0.8.44/dcd204ae53c9cc2769826f521873686d8d02366c604e928884a96e1c84dce906.json
Vendored
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user