Created
August 30, 2014 06:50
-
-
Save srph/f42e57c45173e4e8f11d to your computer and use it in GitHub Desktop.
my-better-yet-qcs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Controller: | |
// calls repository | |
// repository calls its abstract parent | |
// abstract parent calls query / command | |
// has validabletrait (which valides itself with the given rules) | |
// abstract parent calls transformer | |
// return | |
// repository does it the eloquent way or mongo or whatever way | |
// repository returns transformed data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment