| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function getConfigTreeBuilder() |
||
| 18 | { |
||
| 19 | $treeBuilder = new TreeBuilder('shapin_stripe_subscription_cancel'); |
||
| 20 | $rootNode = $treeBuilder->getRootNode(); |
||
| 21 | |||
| 22 | $rootNode |
||
| 23 | ->children() |
||
| 24 | ->booleanNode('invoice_now') |
||
| 25 | ->info('Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items.') |
||
| 26 | ->end() |
||
| 27 | ->booleanNode('prorate') |
||
| 28 | ->info('Will generate a proration invoice item that credits remaining unused time until the subscription period end.') |
||
| 29 | ->end() |
||
| 30 | ->end() |
||
| 31 | ; |
||
| 32 | |||
| 33 | return $treeBuilder; |
||
| 34 | } |
||
| 35 | } |
||
| 36 |