| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 14 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 57 | 3 | protected function processClients(NodeBuilder $builder) |
|
| 58 | { |
||
| 59 | 3 | $children = $builder->arrayNode('http_clients') |
|
| 60 | 3 | ->prototype('array') |
|
| 61 | 3 | ->children() |
|
| 62 | 3 | ->scalarNode('base_url') |
|
| 63 | 3 | ->isRequired() |
|
| 64 | 3 | ->cannotBeEmpty() |
|
| 65 | 3 | ->end() |
|
| 66 | |||
| 67 | 3 | ->arrayNode('decorators') |
|
| 68 | 3 | ->prototype('scalar') |
|
| 69 | 3 | ->end() |
|
| 70 | 3 | ->end(); |
|
| 71 | |||
| 72 | 3 | $this->processEndpoints($children); |
|
| 73 | 3 | } |
|
| 74 | |||
| 94 | } |