Rapsys Git
/
packbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bafec2d
)
Update to new symfony 4.x style
author
Raphaël Gertz
<git@rapsys.eu>
Mon, 28 Oct 2019 18:21:17 +0000
(19:21 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Mon, 28 Oct 2019 18:21:17 +0000
(19:21 +0100)
DependencyInjection/Configuration.php
patch
|
blob
|
history
diff --git
a/DependencyInjection/Configuration.php
b/DependencyInjection/Configuration.php
index 5456a29d0ccf02b56b7450e356c9aaf9cc29561e..bfa4b3cd424cb30af9051ded1b9035c98d51f9af 100644
(file)
--- a/
DependencyInjection/Configuration.php
+++ b/
DependencyInjection/Configuration.php
@@
-22,7
+22,7
@@
class Configuration implements ConfigurationInterface {
*/
public function getConfigTreeBuilder() {
//Get TreeBuilder object
- $treeBuilder = new TreeBuilder();
+ $treeBuilder = new TreeBuilder(
'parameters'
);
//Get ExecutableFinder object
$finder = new ExecutableFinder();
@@
-84,7
+84,7
@@
class Configuration implements ConfigurationInterface {
//Here we define the parameters that are allowed to configure the bundle.
$treeBuilder
//Parameters
- ->
root('parameters'
)
+ ->
getRootNode(
)
->addDefaultsIfNotSet()
->children()
->arrayNode('rapsys_pack')