Created
September 23, 2013 19:41
-
-
Save woodworker/6675826 to your computer and use it in GitHub Desktop.
Sample DIC Config
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 array( | |
Doctrine\Common\Annotations\AnnotationReader::class => [ | |
'provider' => [ | |
'class' => Acme\Provider\AnnotationReaderProvider::class | |
] | |
], | |
Symfony\Component\HttpFoundation\Request::class => [ | |
'provider' => [ | |
'class' => Acme\Provider\CurrentRequestProvider::class | |
] | |
], | |
p2ee\Preparables\Preparer::class => [ | |
'provider' => [ | |
'class' => Acme\Provider\PreparerProvider::class | |
] | |
] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment