symfony/symfony — pull request #12819 by dosten (2014-12-03 02:34:49+00:00)
Title: [ExpressionLanguage] Made ArrayNode::getKeyValuePairs method public

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -

I want to get nodes from an ArrayNode instance but i get an array of keys and values instead of only values. Internally Symfony has a getKeyValuePairs method that normalize the array of nodes. Can be useful to anyone if this method is public instead of protected.