Files
clinicpro/graphify-out/cache/ast/v0.8.44/987af1ca119180771f6305de4886ee6b0bc49477020e7f9151578d36ffae67cf.json
T
hamed 0750bc9812 feat: add multi-city representation support and domain context resolution
- Created migration to add representation_cities table and domain, is_global fields to representations.
- Implemented SiteContextController to resolve domain to site context (city | representation | unknown).
- Developed DomainContext and DomainContextResolver services for domain mapping.
- Added tests for DomainContextResolver and commission logic based on domain ownership.
2026-07-09 07:26:58 +03:30

1 line
7.0 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_controller_sitecontextcontroller_php", "label": "SiteContextController.php", "file_type": "code", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L1"}, {"id": "controller_sitecontextcontroller_sitecontextcontroller", "label": "SiteContextController", "file_type": "code", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L16"}, {"id": "basecontroller", "label": "BaseController", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "controller_sitecontextcontroller_sitecontextcontroller_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L19"}, {"id": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "label": ".resolve()", "file_type": "code", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L23"}, {"id": "request", "label": "Request", "file_type": "code", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L23"}, {"id": "jsonresponse", "label": "JsonResponse", "file_type": "code", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L23"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_controller_sitecontextcontroller_php", "target": "domaincontextresolver", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_controller_sitecontextcontroller_php", "target": "basecontroller", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_controller_sitecontextcontroller_php", "target": "attributes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_controller_sitecontextcontroller_php", "target": "jsonresponse", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_controller_sitecontextcontroller_php", "target": "request", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_controller_sitecontextcontroller_php", "target": "route", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L10", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_controller_sitecontextcontroller_php", "target": "controller_sitecontextcontroller_sitecontextcontroller", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L16", "weight": 1.0}, {"source": "controller_sitecontextcontroller_sitecontextcontroller", "target": "basecontroller", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L17", "weight": 1.0}, {"source": "controller_sitecontextcontroller_sitecontextcontroller", "target": "controller_sitecontextcontroller_sitecontextcontroller_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L19", "weight": 1.0}, {"source": "controller_sitecontextcontroller_sitecontextcontroller", "target": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L23", "weight": 1.0}, {"source": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "target": "request", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L23", "weight": 1.0, "context": "parameter_type"}, {"source": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "target": "jsonresponse", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Representation/Controller/SiteContextController.php", "source_location": "L23", "weight": 1.0, "context": "return_type"}], "raw_calls": [{"caller_nid": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "callee": "get", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Controller/SiteContextController.php", "source_location": "L36", "receiver": null}, {"caller_nid": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "callee": "success", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Controller/SiteContextController.php", "source_location": "L45", "receiver": null}, {"caller_nid": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Controller/SiteContextController.php", "source_location": "L48", "receiver": null}, {"caller_nid": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "callee": "getName", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Controller/SiteContextController.php", "source_location": "L49", "receiver": null}, {"caller_nid": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Controller/SiteContextController.php", "source_location": "L52", "receiver": null}, {"caller_nid": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "callee": "getFullName", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Controller/SiteContextController.php", "source_location": "L53", "receiver": null}, {"caller_nid": "controller_sitecontextcontroller_sitecontextcontroller_resolve", "callee": "isGlobal", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Controller/SiteContextController.php", "source_location": "L54", "receiver": null}]}