Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | 6 | public static function configureOptions(OptionsResolverInterface $resolver) |
|
29 | { |
||
30 | 6 | parent::configureOptions($resolver); |
|
31 | |||
32 | 6 | $resolver->setRequired(array('root_dir')); |
|
33 | 6 | $resolver->setDefaults(array( |
|
34 | 6 | 'root_dir' => function(Options $options) { |
|
35 | 6 | return MultiUseCaseTest::getAbsoluteUseCasesDir(). |
|
36 | 6 | DIRECTORY_SEPARATOR. |
|
37 | 6 | $options['use_case'] |
|
38 | 6 | ; |
|
39 | 6 | }, |
|
40 | 6 | )); |
|
41 | 6 | } |
|
42 | } |
||
43 |