10 lines
622 B
Markdown
10 lines
622 B
Markdown
---
|
|
globs: src/Logic/**/Models/*.php
|
|
description: This rule ensures consistent architectural separation by placing
|
|
all model files in their respective feature-specific directories within the
|
|
Logic layer. It prevents improper placement of models and enforces clear
|
|
organization based on features.
|
|
alwaysApply: true
|
|
---
|
|
|
|
All model files in the Logic layer must be placed within /src/Logic/[FeatureName]/Models directory, where [FeatureName] is a valid feature-specific subdirectory. If the FeatureName is unknown or ambiguous, developers must actively provide a proper feature name rather than defaulting to 'Unknown'. |