| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 18 | class PayoneKlarnaSubFormPlugin extends AbstractPlugin implements SubFormPluginInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * {@inheritDoc} |
||
| 22 | * - Creates `KlarnaSubForm` subform. |
||
| 23 | * |
||
| 24 | * @api |
||
| 25 | * |
||
| 26 | * @return \SprykerEco\Yves\Payone\Form\AbstractPayoneSubForm |
||
| 27 | */ |
||
| 28 | public function createSubForm(): AbstractPayoneSubForm |
||
| 29 | { |
||
| 30 | return $this->getFactory()->createKlarnaSubForm(); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritDoc} |
||
| 35 | * - Creates `KlarnaSubFormDataProvider` data provider. |
||
| 36 | * |
||
| 37 | * @api |
||
| 38 | * |
||
| 39 | * @return \Spryker\Yves\StepEngine\Dependency\Form\StepEngineFormDataProviderInterface |
||
| 40 | */ |
||
| 41 | public function createSubFormDataProvider(): StepEngineFormDataProviderInterface |
||
| 44 | } |
||
| 45 | } |
||
| 46 |