Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trait AuthTrait {
- def doStuff(): AuthStrategy = {
- new AuthStrategy
- }
- }
- class Controller extends AuthTrait {
- def useDep(dep: String): Unit = {
- dep
- }
- }
- class AuthStrategy {
- def useDep(dep: String) = {
- dep
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement