Files
clinicpro/graphify-out/cache/ast/v0.8.44/df1028d7b1b294928a318cc7c27de5ca99b00d583d81ef6f400494c22380b6a6.json
T
hamed 1bf9035f5f feat(seo): add SEO controller for robots.txt and sitemap.xml
- Implemented SeoController with methods for serving robots.txt and sitemap.xml.
- Updated robots.txt logic to disallow access to /admin and /api paths.
- Enhanced meta tags and Open Graph data in home.html.twig for better SEO.
- Added X-Robots-Tag header in SecurityHeadersSubscriber for /admin and /api routes.
2026-06-28 22:28:07 +03:30

1 line
7.5 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_controller_seocontroller_php", "label": "SeoController.php", "file_type": "code", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L1"}, {"id": "controller_seocontroller_seocontroller", "label": "SeoController", "file_type": "code", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L10"}, {"id": "abstractcontroller", "label": "AbstractController", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "controller_seocontroller_seocontroller_robots", "label": ".robots()", "file_type": "code", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L12"}, {"id": "request", "label": "Request", "file_type": "code", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L12"}, {"id": "response", "label": "Response", "file_type": "code", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L12"}, {"id": "controller_seocontroller_seocontroller_sitemap", "label": ".sitemap()", "file_type": "code", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L29"}, {"id": "controller_seocontroller_seocontroller_isstaging", "label": ".isStaging()", "file_type": "code", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L45"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_controller_seocontroller_php", "target": "abstractcontroller", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_controller_seocontroller_php", "target": "request", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_controller_seocontroller_php", "target": "response", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_controller_seocontroller_php", "target": "route", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_controller_seocontroller_php", "target": "controller_seocontroller_seocontroller", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L10", "weight": 1.0}, {"source": "controller_seocontroller_seocontroller", "target": "abstractcontroller", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L10", "weight": 1.0}, {"source": "controller_seocontroller_seocontroller", "target": "controller_seocontroller_seocontroller_robots", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L12", "weight": 1.0}, {"source": "controller_seocontroller_seocontroller_robots", "target": "request", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L12", "weight": 1.0, "context": "parameter_type"}, {"source": "controller_seocontroller_seocontroller_robots", "target": "response", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L12", "weight": 1.0, "context": "return_type"}, {"source": "controller_seocontroller_seocontroller", "target": "controller_seocontroller_seocontroller_sitemap", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L29", "weight": 1.0}, {"source": "controller_seocontroller_seocontroller_sitemap", "target": "request", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L29", "weight": 1.0, "context": "parameter_type"}, {"source": "controller_seocontroller_seocontroller_sitemap", "target": "response", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L29", "weight": 1.0, "context": "return_type"}, {"source": "controller_seocontroller_seocontroller", "target": "controller_seocontroller_seocontroller_isstaging", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L45", "weight": 1.0}, {"source": "controller_seocontroller_seocontroller_isstaging", "target": "request", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L45", "weight": 1.0, "context": "parameter_type"}, {"source": "controller_seocontroller_seocontroller_robots", "target": "controller_seocontroller_seocontroller_isstaging", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L15", "weight": 1.0}, {"source": "controller_seocontroller_seocontroller_robots", "target": "response", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L26", "weight": 1.0}, {"source": "controller_seocontroller_seocontroller_sitemap", "target": "response", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "src/Shared/Controller/SeoController.php", "source_location": "L42", "weight": 1.0}], "raw_calls": [{"caller_nid": "controller_seocontroller_seocontroller_robots", "callee": "getSchemeAndHttpHost", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Controller/SeoController.php", "source_location": "L18", "receiver": null}, {"caller_nid": "controller_seocontroller_seocontroller_sitemap", "callee": "getSchemeAndHttpHost", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Controller/SeoController.php", "source_location": "L32", "receiver": null}, {"caller_nid": "controller_seocontroller_seocontroller_isstaging", "callee": "getHost", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Controller/SeoController.php", "source_location": "L47", "receiver": null}, {"caller_nid": "controller_seocontroller_seocontroller_isstaging", "callee": "str_ends_with", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Controller/SeoController.php", "source_location": "L49", "receiver": null}, {"caller_nid": "controller_seocontroller_seocontroller_isstaging", "callee": "str_contains", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Controller/SeoController.php", "source_location": "L50", "receiver": null}, {"caller_nid": "controller_seocontroller_seocontroller_isstaging", "callee": "str_starts_with", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Controller/SeoController.php", "source_location": "L51", "receiver": null}]}