| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | public static function createPayloadConverter(array $payload_converters = []) |
||
| 24 | { |
||
| 25 | $payload_converter_manager = new PayloadConverterManager(); |
||
| 26 | |||
| 27 | foreach ($payload_converters as $payload_converter) { |
||
| 28 | $payload_converter_manager->addConverter($payload_converter); |
||
| 29 | } |
||
| 30 | |||
| 31 | return $payload_converter_manager; |
||
| 32 | } |
||
| 33 | } |
||
| 34 |