Add PimpleContainerDump helper

This commit is contained in:
Benoît Burnichon
2015-12-18 11:06:02 +01:00
parent c74d85707a
commit e45530a0e2
3 changed files with 5 additions and 0 deletions

2
.gitignore vendored
View File

@@ -65,3 +65,5 @@ behat.yml
# Exclude jison files
grammar/query.js
grammar/jison-*
pimple.json

View File

@@ -89,6 +89,7 @@
"simple-bus/message-bus": "^2.1",
"simple-bus/serialization": "^2.0",
"sorien/silex-dbal-profiler": "~1.0.0",
"sorien/silex-pimple-dumper": "^1.0",
"swiftmailer/swiftmailer": "~5.3.0",
"symfony/symfony": "~2.4",
"themattharris/tmhoauth": "~0.7",

View File

@@ -117,6 +117,7 @@ use Silex\Provider\SwiftmailerServiceProvider;
use Silex\Provider\TwigServiceProvider;
use Silex\Provider\UrlGeneratorServiceProvider;
use Silex\Provider\ValidatorServiceProvider;
use Sorien\Provider\PimpleDumpProvider;
use Symfony\Bridge\Twig\Extension\TranslationExtension;
use Symfony\Component\Form\Exception\FormException;
use Symfony\Component\Form\FormBuilderInterface;
@@ -176,6 +177,7 @@ class Application extends SilexApplication
ini_set('log_errors', 'on');
ini_set('error_log', $this['root.path'].'/logs/php_error.log');
}
$this->register(new PimpleDumpProvider());
$this->register(new ConfigurationServiceProvider());
$this->register(new MonologServiceProvider());