src/FondOfSpryker/Yves/AvailabilityAlert/AvailabilityAlertFactory.php
public function createSubscriptionForm($idProductAbstract)
    {
        $dataProvider = $this->createSubscriptionFormDataProvider();

        $form = $this->getFormFactory()->create(
            $this->getSubscriptionFormType(),
            $dataProvider->getData($idProductAbstract),
            $dataProvider->getOptions()
        );

        return $form;
    }
public function createSubscriptionForm($idProductAbstract)
    {
        $dataProvider = $this->createSubscriptionFormDataProvider();

        $form = $this->getFormFactory()->create(
            $this->getSubscriptionFormType(),
            $dataProvider->getData($idProductAbstract),
            $dataProvider->getOptions()
        );

        return $form;
    }
@param int $idProductAbstract

@return \Symfony\Component\Form\FormInterface