Created
December 1, 2016 16:39
-
-
Save JamesTheHacker/addf937e5de1ad2fa53e5af9daebe90d to your computer and use it in GitHub Desktop.
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
$container['EmailService'] = function($c) { | |
return new \StudentApp\Services\EmailService($c); | |
}; | |
// Replace with this | |
$container['\StudentApp\Services\EmailService::class'] = function($c) { | |
return new \StudentApp\Services\EmailService(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment