Files
clinicpro/graphify-out/cache/ast/v0.8.44/428d7fe5382e98ea3e0f553f59a3f7fd00dbc02314461ec472bcdaee0606f4c2.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
6.4 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontextresolver_php", "label": "DomainContextResolver.php", "file_type": "code", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L1"}, {"id": "service_domaincontextresolver_domaincontextresolver", "label": "DomainContextResolver", "file_type": "code", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L15"}, {"id": "service_domaincontextresolver_domaincontextresolver_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L17"}, {"id": "service_domaincontextresolver_domaincontextresolver_applytolistfilters", "label": ".applyToListFilters()", "file_type": "code", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L27"}, {"id": "service_domaincontextresolver_domaincontextresolver_resolve", "label": ".resolve()", "file_type": "code", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L44"}, {"id": "domaincontext", "label": "DomainContext", "file_type": "code", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L44"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontextresolver_php", "target": "cityrepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontextresolver_php", "target": "representation", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontextresolver_php", "target": "representationrepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontextresolver_php", "target": "service_domaincontextresolver_domaincontextresolver", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L15", "weight": 1.0}, {"source": "service_domaincontextresolver_domaincontextresolver", "target": "service_domaincontextresolver_domaincontextresolver_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L17", "weight": 1.0}, {"source": "service_domaincontextresolver_domaincontextresolver", "target": "service_domaincontextresolver_domaincontextresolver_applytolistfilters", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L27", "weight": 1.0}, {"source": "service_domaincontextresolver_domaincontextresolver", "target": "service_domaincontextresolver_domaincontextresolver_resolve", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L44", "weight": 1.0}, {"source": "service_domaincontextresolver_domaincontextresolver_resolve", "target": "domaincontext", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L44", "weight": 1.0, "context": "return_type"}, {"source": "service_domaincontextresolver_domaincontextresolver_applytolistfilters", "target": "service_domaincontextresolver_domaincontextresolver_resolve", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L35", "weight": 1.0}, {"source": "service_domaincontextresolver_domaincontextresolver_resolve", "target": "domaincontext", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContextResolver.php", "source_location": "L48", "weight": 1.0}], "raw_calls": [{"caller_nid": "service_domaincontextresolver_domaincontextresolver_applytolistfilters", "callee": "is_string", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Service/DomainContextResolver.php", "source_location": "L31", "receiver": null}, {"caller_nid": "service_domaincontextresolver_domaincontextresolver_applytolistfilters", "callee": "representationId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Service/DomainContextResolver.php", "source_location": "L37", "receiver": null}, {"caller_nid": "service_domaincontextresolver_domaincontextresolver_resolve", "callee": "Representation", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Service/DomainContextResolver.php", "source_location": "L46", "receiver": null}, {"caller_nid": "service_domaincontextresolver_domaincontextresolver_resolve", "callee": "findByDomain", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Service/DomainContextResolver.php", "source_location": "L51", "receiver": null}, {"caller_nid": "service_domaincontextresolver_domaincontextresolver_resolve", "callee": "findActiveByDomain", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Service/DomainContextResolver.php", "source_location": "L55", "receiver": null}, {"caller_nid": "service_domaincontextresolver_domaincontextresolver_resolve", "callee": "findActiveByDomain", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Service/DomainContextResolver.php", "source_location": "L59", "receiver": null}, {"caller_nid": "service_domaincontextresolver_domaincontextresolver_resolve", "callee": "isGlobal", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Representation/Service/DomainContextResolver.php", "source_location": "L61", "receiver": null}]}