- Created new JSON file for database.md with nodes and edges representing the structure and relationships within the document. - Created new JSON file for architecture.md with nodes and edges detailing the architecture of the task 14 events utilization.
1 line
9.1 KiB
JSON
1 line
9.1 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "label": "StaffRouteGuardSubscriber.php", "file_type": "code", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L1"}, {"id": "security_staffrouteguardsubscriber_staffrouteguardsubscriber", "label": "StaffRouteGuardSubscriber", "file_type": "code", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L22"}, {"id": "eventsubscriberinterface", "label": "EventSubscriberInterface", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L40"}, {"id": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_getsubscribedevents", "label": ".getSubscribedEvents()", "file_type": "code", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L42"}, {"id": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "label": ".onKernelRequest()", "file_type": "code", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L48"}, {"id": "requestevent", "label": "RequestEvent", "file_type": "code", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L48"}, {"id": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_isstaffonly", "label": ".isStaffOnly()", "file_type": "code", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L73"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L73"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "target": "errorcodes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "target": "appexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "target": "security", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "target": "eventsubscriberinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "target": "requestevent", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L10", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "target": "kernelevents", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L11", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_staff_security_staffrouteguardsubscriber_php", "target": "security_staffrouteguardsubscriber_staffrouteguardsubscriber", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L22", "weight": 1.0}, {"source": "security_staffrouteguardsubscriber_staffrouteguardsubscriber", "target": "eventsubscriberinterface", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L22", "weight": 1.0}, {"source": "security_staffrouteguardsubscriber_staffrouteguardsubscriber", "target": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L40", "weight": 1.0}, {"source": "security_staffrouteguardsubscriber_staffrouteguardsubscriber", "target": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_getsubscribedevents", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L42", "weight": 1.0}, {"source": "security_staffrouteguardsubscriber_staffrouteguardsubscriber", "target": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L48", "weight": 1.0}, {"source": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "target": "requestevent", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L48", "weight": 1.0, "context": "parameter_type"}, {"source": "security_staffrouteguardsubscriber_staffrouteguardsubscriber", "target": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_isstaffonly", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L73", "weight": 1.0}, {"source": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_isstaffonly", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L73", "weight": 1.0, "context": "parameter_type"}, {"source": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "target": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_isstaffonly", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L60", "weight": 1.0}], "raw_calls": [{"caller_nid": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "callee": "isMainRequest", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L50", "receiver": null}, {"caller_nid": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "callee": "getPathInfo", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L54", "receiver": null}, {"caller_nid": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "callee": "getRequest", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L54", "receiver": null}, {"caller_nid": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "callee": "str_starts_with", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L55", "receiver": null}, {"caller_nid": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "callee": "getUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L59", "receiver": null}, {"caller_nid": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_onkernelrequest", "callee": "str_starts_with", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L65", "receiver": null}, {"caller_nid": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_isstaffonly", "callee": "hasRole", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L75", "receiver": null}, {"caller_nid": "security_staffrouteguardsubscriber_staffrouteguardsubscriber_isstaffonly", "callee": "hasRole", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Staff/Security/StaffRouteGuardSubscriber.php", "source_location": "L80", "receiver": null}]} |