Last active
December 1, 2016 22:49
-
-
Save andyczerwonka/043a2d9fa3b3a8a4cb8024f8eaffdcfc to your computer and use it in GitHub Desktop.
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
object ApplicationConfiguration { | |
private[this] lazy val configuration = expensiveLoadOperation() | |
def get(excuse: Controller): ApplicationConfiguration = configuration | |
def get(excuse: ImportProvider): ApplicationConfiguration = configuration | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment