| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public static function fromArray(array $arrayConfig) |
||
| 32 | { |
||
| 33 | $configResolver = self::createArrayResponseResolver(); |
||
| 34 | $config = $configResolver->resolve($arrayConfig); |
||
| 35 | $responseConfig = new Response( |
||
| 36 | $config['content'], |
||
| 37 | $config['status'], |
||
| 38 | $config['headers'] |
||
| 39 | ); |
||
| 40 | |||
| 41 | return $responseConfig; |
||
| 42 | } |
||
| 43 | |||
| 82 |