Created
January 31, 2016 07:36
-
-
Save erangaeb/65d991f9001c8327a02b to your computer and use it in GitHub Desktop.
Cake pattern based layered component
This file contains hidden or 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
| trait EmployeeDbComp { | |
| val employeeDb: EmployeeDb | |
| trait EmployeeDb { | |
| def createEmployee(employee: Employee) | |
| def getEmployee(empId: Int): Employee | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment