Created
December 3, 2018 14:37
-
-
Save tux-rampage/68c16a2382766b6ef8b5fa1470f8ac87 to your computer and use it in GitHub Desktop.
zend-di inject config service
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
<?php | |
return [ | |
'dependencies' => [ | |
'auto' => [ | |
'types' => [ | |
\App\MyService::class => [ | |
'parameters' => [ | |
'config' => new \Zend\Di\Resolver\ServiceInjection('config'), | |
], | |
], | |
], | |
], | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment