Created
April 14, 2016 19:57
-
-
Save zebba/3d9febe2143e37a34a13c56e9e86d179 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @inheritDoc | |
*/ | |
public function getConfigTreeBuilder() | |
{ | |
$treebuilder = new TreeBuilder(); | |
$rootNode = $treebuilder->root(''); | |
$rootNode | |
->children() | |
->arrayNode('targets') | |
->prototype('scalar')->end() | |
->end() | |
->end() | |
; | |
return $treebuilder; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"targets": ["foo", "bar"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment