andersao / andersao/l5-repository
[refactor] Criteria collection as extended collection class
Offen
- Vorherrschende Sprache
- PHP
- Sterne
- 4.2k
- Forks
- 880
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I believe it would be better architecturally to have the criteria collection as more of a first class entity extending the base Collection class:
`CriteriaCollection extends \Illuminate\Support\Collection`
This would enable functionality around `push and pop` to be contained within the collection instance itself where it belongs.
Thoughts?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.