Skip to content

Commit ff4fb67

Browse files
committed
fix coverage badge, extend readme
1 parent 4a11027 commit ff4fb67

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Symfony DI component loader
22

33
[![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)
55
[![Code Climate](https://codeclimate.com/github/alexpts/php-symfony-di-loader/badges/gpa.svg)](https://codeclimate.com/github/alexpts/php-symfony-di-loader)
66
[![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)
77

@@ -39,3 +39,11 @@ $loader->setCheckExpired(false);
3939
$container = $loader->getContainer();
4040
```
4141

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+
```

0 commit comments

Comments
 (0)