| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | protected function addConfigureParamsMethod(AbstractPhpStruct $struct, $body = '') { |
||
| 25 | $struct->addUseStatement('Symfony\\Component\\OptionsResolver\\OptionsResolver'); |
||
| 26 | $struct->setMethod(PhpMethod::create('configureParams') |
||
| 27 | ->addParameter(PhpParameter::create('resolver')->setType('OptionsResolver')) |
||
| 28 | ->setBody($body) |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 42 |