{"nodes": [{"id": "users_isaacmini_projects_petrus_crm_backend_app_services_documentservice_php", "label": "DocumentService.php", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L1"}, {"id": "services_documentservice_documentservice", "label": "DocumentService", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L11"}, {"id": "services_documentservice_documentservice_construct", "label": ".__construct()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L38"}, {"id": "services_documentservice_documentservice_upload", "label": ".upload()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L52"}, {"id": "services_documentservice_documentservice_archiveprevioussingleton", "label": ".archivePreviousSingleton()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L99"}, {"id": "services_documentservice_documentservice_generatesignedurl", "label": ".generateSignedUrl()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L113"}, {"id": "services_documentservice_documentservice_archive", "label": ".archive()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L136"}, {"id": "services_documentservice_documentservice_fileexists", "label": ".fileExists()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L146"}, {"id": "services_documentservice_documentservice_getfilecontents", "label": ".getFileContents()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L154"}, {"id": "services_documentservice_documentservice_getdisk", "label": ".getDisk()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L166"}, {"id": "services_documentservice_documentservice_generatestoragepath", "label": ".generateStoragePath()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L176"}], "edges": [{"source": "users_isaacmini_projects_petrus_crm_backend_app_services_documentservice_php", "target": "documenttype", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L5", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_documentservice_php", "target": "document", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L6", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_documentservice_php", "target": "model", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L7", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_documentservice_php", "target": "uploadedfile", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L8", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_documentservice_php", "target": "storage", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L9", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_documentservice_php", "target": "services_documentservice_documentservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L11", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L38", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_upload", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L52", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_archiveprevioussingleton", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L99", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_generatesignedurl", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L113", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_archive", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L136", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_fileexists", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L146", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_getfilecontents", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L154", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_getdisk", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L166", "weight": 1.0}, {"source": "services_documentservice_documentservice", "target": "services_documentservice_documentservice_generatestoragepath", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L176", "weight": 1.0}, {"source": "services_documentservice_documentservice_upload", "target": "services_documentservice_documentservice_archiveprevioussingleton", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L62", "weight": 1.0}, {"source": "services_documentservice_documentservice_upload", "target": "services_documentservice_documentservice_generatestoragepath", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L65", "weight": 1.0}, {"source": "services_documentservice_documentservice_getfilecontents", "target": "services_documentservice_documentservice_fileexists", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L156", "weight": 1.0}], "raw_calls": [{"caller_nid": "services_documentservice_documentservice_construct", "callee": "config", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L40"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "isSingleton", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L61"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "getClientOriginalName", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L65"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "putFileAs", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L67"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "Storage", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L67"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "dirname", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L68"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "basename", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L70"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "Document", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L73"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "getMorphClass", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L74"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "getKey", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L75"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "getClientOriginalName", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L79"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "getMimeType", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L81"}, {"caller_nid": "services_documentservice_documentservice_upload", "callee": "getSize", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L82"}, {"caller_nid": "services_documentservice_documentservice_archiveprevioussingleton", "callee": "update", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L101"}, {"caller_nid": "services_documentservice_documentservice_archiveprevioussingleton", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L101"}, {"caller_nid": "services_documentservice_documentservice_archiveprevioussingleton", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L101"}, {"caller_nid": "services_documentservice_documentservice_archiveprevioussingleton", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L101"}, {"caller_nid": "services_documentservice_documentservice_archiveprevioussingleton", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L101"}, {"caller_nid": "services_documentservice_documentservice_archiveprevioussingleton", "callee": "Document", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L101"}, {"caller_nid": "services_documentservice_documentservice_archiveprevioussingleton", "callee": "getMorphClass", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L102"}, {"caller_nid": "services_documentservice_documentservice_archiveprevioussingleton", "callee": "getKey", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L103"}, {"caller_nid": "services_documentservice_documentservice_generatesignedurl", "callee": "Storage", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L115"}, {"caller_nid": "services_documentservice_documentservice_generatesignedurl", "callee": "method_exists", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L118"}, {"caller_nid": "services_documentservice_documentservice_generatesignedurl", "callee": "temporaryUrl", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L120"}, {"caller_nid": "services_documentservice_documentservice_generatesignedurl", "callee": "addMinutes", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L122"}, {"caller_nid": "services_documentservice_documentservice_generatesignedurl", "callee": "now", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L122"}, {"caller_nid": "services_documentservice_documentservice_generatesignedurl", "callee": "url", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L130"}, {"caller_nid": "services_documentservice_documentservice_archive", "callee": "update", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L138"}, {"caller_nid": "services_documentservice_documentservice_fileexists", "callee": "exists", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L148"}, {"caller_nid": "services_documentservice_documentservice_fileexists", "callee": "Storage", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L148"}, {"caller_nid": "services_documentservice_documentservice_getfilecontents", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L160"}, {"caller_nid": "services_documentservice_documentservice_getfilecontents", "callee": "Storage", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L160"}, {"caller_nid": "services_documentservice_documentservice_generatestoragepath", "callee": "getMorphClass", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L178"}, {"caller_nid": "services_documentservice_documentservice_generatestoragepath", "callee": "getKey", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L186"}, {"caller_nid": "services_documentservice_documentservice_generatestoragepath", "callee": "format", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L190"}, {"caller_nid": "services_documentservice_documentservice_generatestoragepath", "callee": "now", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/DocumentService.php", "source_location": "L190"}]}