| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 10 | 12 | public static function createFromArray($params = array()) |
|
| 11 | { |
||
| 12 | 12 | $processor = new Processor(); |
|
| 13 | 12 | $configuration = new ExecWrapperConfiguration(); |
|
| 14 | 12 | $processedConfiguration = $processor->processConfiguration( |
|
| 15 | 12 | $configuration, |
|
| 16 | 12 | array($params) |
|
| 17 | 12 | ); |
|
| 18 | 12 | return $processedConfiguration; |
|
| 19 | } |
||
| 20 | } |