for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace SprykerEco\Yves\CrefoPay\Plugin\StepEngine\SubForm;
use Spryker\Yves\Kernel\AbstractPlugin;
use Spryker\Yves\StepEngine\Dependency\Form\StepEngineFormDataProviderInterface;
use Spryker\Yves\StepEngine\Dependency\Form\SubFormInterface;
use Spryker\Yves\StepEngine\Dependency\Plugin\Form\SubFormPluginInterface;
* @method \SprykerEco\Yves\CrefoPay\CrefoPayFactory getFactory()
*
* @SuppressWarnings(PHPMD.NewPluginExtensionModuleRule)
class CrefoPayBillSubFormPlugin extends AbstractPlugin implements SubFormPluginInterface
{
* {@inheritdoc}
* - Creates sub form for Bill payment method.
* @api
* @return \Spryker\Yves\StepEngine\Dependency\Form\SubFormInterface
public function createSubForm(): SubFormInterface
return $this->getFactory()->createBillForm();
}
* - Creates data provider for Bill payment method.
* @return \Spryker\Yves\StepEngine\Dependency\Form\StepEngineFormDataProviderInterface
public function createSubFormDataProvider(): StepEngineFormDataProviderInterface
return $this->getFactory()->createBillFormDataProvider();