for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Yves\Computop\Plugin\CheckoutPage;
use Spryker\Yves\Kernel\AbstractPlugin;
use Spryker\Yves\StepEngine\Dependency\Form\SubFormInterface;
use Spryker\Yves\StepEngine\Dependency\Plugin\Form\SubFormPluginInterface;
use SprykerEco\Yves\Computop\Form\DataProvider\PayuCeeSingleFormDataProvider;
* @method \SprykerEco\Yves\Computop\ComputopFactory getFactory()
class PayuCeeSingleSubFormPlugin extends AbstractPlugin implements SubFormPluginInterface
{
* {@inheritDoc}
* - Returns a sub form for `PayU CEE Single` payment method.
*
* @api
* @return \Spryker\Yves\StepEngine\Dependency\Form\SubFormInterface
public function createSubForm(): SubFormInterface
return $this->getFactory()->createPayuCeeSingleSubForm();
}
* - Returns data provider for `PayU CEE Single` payment method form.
* @return \SprykerEco\Yves\Computop\Form\DataProvider\PayuCeeSingleFormDataProvider
public function createSubFormDataProvider(): PayuCeeSingleFormDataProvider
return $this->getFactory()->createPayuCeeSingleFormDataProvider();