Files
clinicpro/graphify-out/cache/ast/v0.8.44/70e959b1cc3719befebfb2af0ae0e54721c75b82966ddf93247f7220f6fccd45.json
T
hamed 2553b45990 Add AST cache files for VisitPriceRequirementResolver, Version20260717093000, and DiscountRuleRepository
- Created JSON representation for VisitPriceRequirementResolver.php, including nodes and edges for methods and imports.
- Added AST cache for migrations/Version20260717093000.php, detailing methods and their relationships.
- Introduced AST cache for DiscountRuleRepository.php, capturing methods, imports, and their interactions.
2026-07-18 12:38:15 +03:30

1 line
20 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_clinicservice_serviceitemdetailapitest_php", "label": "ServiceItemDetailApiTest.php", "file_type": "code", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L1"}, {"id": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest", "label": "ServiceItemDetailApiTest", "file_type": "code", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L16"}, {"id": "apitestcase", "label": "ApiTestCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "label": ".makeDoctorWithItem()", "file_type": "code", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L19"}, {"id": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "label": ".testReturnsTheItemWithEverythingTheDetailPageNeeds()", "file_type": "code", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L36"}, {"id": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testunknownuuidreturns404", "label": ".testUnknownUuidReturns404()", "file_type": "code", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L57"}, {"id": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "label": ".testAnotherTenantCannotReadTheItem()", "file_type": "code", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L66"}, {"id": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testrequiresauthentication", "label": ".testRequiresAuthentication()", "file_type": "code", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L79"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_clinicservice_serviceitemdetailapitest_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_clinicservice_serviceitemdetailapitest_php", "target": "serviceitem", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_clinicservice_serviceitemdetailapitest_php", "target": "servicesection", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_clinicservice_serviceitemdetailapitest_php", "target": "doctor", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_clinicservice_serviceitemdetailapitest_php", "target": "apitestcase", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_clinicservice_serviceitemdetailapitest_php", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L16", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest", "target": "apitestcase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L16", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L19", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L36", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testunknownuuidreturns404", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L57", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L66", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testrequiresauthentication", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L79", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L38", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testunknownuuidreturns404", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L59", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L68", "weight": 1.0}, {"source": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testrequiresauthentication", "target": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L81", "weight": 1.0}], "raw_calls": [{"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L21", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L23", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L24", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L26", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "setBookable", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L28", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "setDurationMinutes", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L28", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "setPriceRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L28", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L29", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L30", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_makedoctorwithitem", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L31", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L40", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L40", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L42", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L42", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L44", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L44", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L45", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L46", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L47", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L47", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "getSection", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L47", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L48", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L49", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertTrue", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L50", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertIsInt", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L51", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertIsInt", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L52", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertArrayHasKey", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L53", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testreturnstheitemwitheverythingthedetailpageneeds", "callee": "assertArrayHasKey", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L54", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testunknownuuidreturns404", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L61", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testunknownuuidreturns404", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L63", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testunknownuuidreturns404", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L63", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L70", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L71", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L72", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L74", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L74", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L76", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testanothertenantcannotreadtheitem", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L76", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testrequiresauthentication", "callee": "request", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L83", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testrequiresauthentication", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L83", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testrequiresauthentication", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L85", "receiver": null}, {"caller_nid": "clinicservice_serviceitemdetailapitest_serviceitemdetailapitest_testrequiresauthentication", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/ClinicService/ServiceItemDetailApiTest.php", "source_location": "L85", "receiver": null}]}