File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Symfony DI component loader
2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/alexpts/php-symfony-di-loader.svg?branch=master )] ( https://travis-ci.org/alexpts/php-symfony-di-loader )
4
- [ ![ Test Coverage] ( https://codeclimate .com/github /alexpts/php-symfony-di-loader/badges/coverage.svg )] ( https://codeclimate .com/github /alexpts/php-symfony-di-loader/coverage )
4
+ [ ![ Code Coverage] ( https://scrutinizer-ci .com/g /alexpts/php-symfony-di-loader/badges/coverage.png?b=master )] ( https://scrutinizer-ci .com/g /alexpts/php-symfony-di-loader/?branch=master )
5
5
[ ![ Code Climate] ( https://codeclimate.com/github/alexpts/php-symfony-di-loader/badges/gpa.svg )] ( https://codeclimate.com/github/alexpts/php-symfony-di-loader )
6
6
[ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/alexpts/php-symfony-di-loader/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/alexpts/php-symfony-di-loader/?branch=master )
7
7
@@ -39,3 +39,11 @@ $loader->setCheckExpired(false);
39
39
$container = $loader->getContainer();
40
40
```
41
41
42
+
43
+ Custom container extension:
44
+ ``` php
45
+ $loader = new LoaderContainer($configs, $fileCache, $factory);
46
+ $loader->addExtension($someContainerExtension);
47
+ $loader->addExtension($someContainerExtension2);
48
+ $container = $loader->getContainer();
49
+ ```
You can’t perform that action at this time.
0 commit comments