{"nodes": [{"id": "home_asterix_desktop_app_main_updater_app_models_booking_php", "label": "Booking.php", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L1"}, {"id": "models_booking_booking", "label": "Booking", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L10"}, {"id": "models_booking_booking_listing", "label": ".listing()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L24"}, {"id": "models_booking_booking_user", "label": ".user()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L29"}, {"id": "models_booking_booking_agent", "label": ".agent()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L34"}, {"id": "models_booking_booking_ispending", "label": ".isPending()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L39"}, {"id": "models_booking_booking_isapproved", "label": ".isApproved()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L44"}, {"id": "models_booking_booking_isrejected", "label": ".isRejected()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L49"}, {"id": "models_booking_booking_normalizedstatus", "label": ".normalizedStatus()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L54"}, {"id": "models_booking_booking_statusbadge", "label": ".statusBadge()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L73"}, {"id": "models_booking_booking_scopeapproved", "label": ".scopeApproved()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L84"}, {"id": "models_booking_booking_scopeblockingdates", "label": ".scopeBlockingDates()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L89"}, {"id": "models_booking_booking_scopeforagent", "label": ".scopeForAgent()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L94"}, {"id": "models_booking_booking_datesoverlap", "label": ".datesOverlap()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L99"}, {"id": "models_booking_booking_blockedrangesforlisting", "label": ".blockedRangesForListing()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L104"}, {"id": "models_booking_booking_overlapsblockedperiod", "label": ".overlapsBlockedPeriod()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L119"}, {"id": "models_booking_booking_changestatus", "label": ".changeStatus()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L135"}], "edges": [{"source": "home_asterix_desktop_app_main_updater_app_models_booking_php", "target": "status", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L5", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_models_booking_php", "target": "attribute", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L6", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_models_booking_php", "target": "model", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L7", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_models_booking_php", "target": "listing", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L8", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_models_booking_php", "target": "models_booking_booking", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L10", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_listing", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L24", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_user", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L29", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_agent", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L34", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_ispending", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L39", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_isapproved", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L44", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_isrejected", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L49", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_normalizedstatus", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L54", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_statusbadge", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L73", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_scopeapproved", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L84", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_scopeblockingdates", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L89", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_scopeforagent", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L94", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_datesoverlap", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L99", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_blockedrangesforlisting", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L104", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_overlapsblockedperiod", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L119", "weight": 1.0}, {"source": "models_booking_booking", "target": "models_booking_booking_changestatus", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L135", "weight": 1.0}, {"source": "models_booking_booking_agent", "target": "models_booking_booking_user", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L36", "weight": 1.0}, {"source": "models_booking_booking_ispending", "target": "models_booking_booking_normalizedstatus", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L41", "weight": 1.0}, {"source": "models_booking_booking_isapproved", "target": "models_booking_booking_normalizedstatus", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L46", "weight": 1.0}, {"source": "models_booking_booking_isrejected", "target": "models_booking_booking_normalizedstatus", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L51", "weight": 1.0}, {"source": "models_booking_booking_statusbadge", "target": "models_booking_booking_normalizedstatus", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L76", "weight": 1.0}, {"source": "models_booking_booking_changestatus", "target": "models_booking_booking_isapproved", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L139", "weight": 1.0}], "raw_calls": [{"caller_nid": "models_booking_booking_listing", "callee": "belongsTo", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L26"}, {"caller_nid": "models_booking_booking_user", "callee": "belongsTo", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L31"}, {"caller_nid": "models_booking_booking_agent", "callee": "belongsTo", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L36"}, {"caller_nid": "models_booking_booking_normalizedstatus", "callee": "strtolower", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L56"}, {"caller_nid": "models_booking_booking_normalizedstatus", "callee": "trim", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L56"}, {"caller_nid": "models_booking_booking_normalizedstatus", "callee": "in_array", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L58"}, {"caller_nid": "models_booking_booking_normalizedstatus", "callee": "in_array", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L62"}, {"caller_nid": "models_booking_booking_normalizedstatus", "callee": "in_array", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L66"}, {"caller_nid": "models_booking_booking_statusbadge", "callee": "e", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L77"}, {"caller_nid": "models_booking_booking_statusbadge", "callee": "__", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L77"}, {"caller_nid": "models_booking_booking_statusbadge", "callee": "e", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L78"}, {"caller_nid": "models_booking_booking_statusbadge", "callee": "__", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L78"}, {"caller_nid": "models_booking_booking_statusbadge", "callee": "e", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L79"}, {"caller_nid": "models_booking_booking_statusbadge", "callee": "__", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L79"}, {"caller_nid": "models_booking_booking_scopeapproved", "callee": "whereIn", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L86"}, {"caller_nid": "models_booking_booking_scopeblockingdates", "callee": "approved", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L91"}, {"caller_nid": "models_booking_booking_scopeforagent", "callee": "where", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L96"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "all", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L106"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "values", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L106"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "map", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L106"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "get", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L106"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "orderBy", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L106"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "blockingDates", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L106"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "where", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L106"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "static", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L106"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "format", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L112"}, {"caller_nid": "models_booking_booking_blockedrangesforlisting", "callee": "format", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L113"}, {"caller_nid": "models_booking_booking_overlapsblockedperiod", "callee": "where", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L121"}, {"caller_nid": "models_booking_booking_overlapsblockedperiod", "callee": "where", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L121"}, {"caller_nid": "models_booking_booking_overlapsblockedperiod", "callee": "blockingDates", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L121"}, {"caller_nid": "models_booking_booking_overlapsblockedperiod", "callee": "where", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L121"}, {"caller_nid": "models_booking_booking_overlapsblockedperiod", "callee": "static", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L121"}, {"caller_nid": "models_booking_booking_overlapsblockedperiod", "callee": "where", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L128"}, {"caller_nid": "models_booking_booking_overlapsblockedperiod", "callee": "exists", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L131"}, {"caller_nid": "models_booking_booking_changestatus", "callee": "static", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L137"}, {"caller_nid": "models_booking_booking_changestatus", "callee": "save", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L147"}, {"caller_nid": "models_booking_booking_changestatus", "callee": "trans", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L149"}, {"caller_nid": "models_booking_booking_changestatus", "callee": "with", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L151"}, {"caller_nid": "models_booking_booking_changestatus", "callee": "back", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Models/Booking.php", "source_location": "L151"}]}