From a5cabdda453546ff8be1c6bd4829c09b413789a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20H=C3=A9rault?= Date: Wed, 30 May 2012 09:23:36 +0200 Subject: [PATCH] Replace ->setExample() by ->example() in configuration class --- DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index a5fe3dcb..57a0420c 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -186,7 +186,7 @@ public function getConfigTreeBuilder() ->ifTrue(function($v) { return isset($v['debug']); }) ->thenInvalid('The "debug" name cannot be used as it is reserved for the handler of the profiler') ->end() - ->setExample(array( + ->example(array( 'syslog' => array( 'type' => 'stream', 'path' => '/var/log/symfony.log',