andersao / andersao/l5-repository

[refactor] Criteria collection as extended collection class

Offen
#531 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.