Files
ai-chat/.continue/rules/repository-pattern.md
2026-06-10 18:22:27 +02:00

9 lines
571 B
Markdown

---
globs: "**/Repository/*.php,**/Data/**/*Repository*.php,**/Logic/**/*Repository*.php"
description: Enforce clear separation between Logic, Data, and Shared layers by
ensuring proper placement of repositories according to domain-driven design
principles.
alwaysApply: true
---
All repository implementations must be located in the Data layer and use entities for persistence. Repository interfaces must be defined in the Logic layer, not in the Data layer. Services in the Logic layer must depend on repository interfaces defined in their respective Logic folder.