| 1 | <?php |
||
| 16 | class SimpleFormGenerator implements FormGenerator |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @deprecated |
||
| 20 | * @var null |
||
| 21 | */ |
||
| 22 | private $formName = null; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @deprecated |
||
| 26 | * @var null |
||
| 27 | */ |
||
| 28 | private $showSubmitButton = null; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param EcommercePaymentRequest $ecommercePaymentRequest |
||
| 32 | * @param string $formName |
||
| 33 | * @param bool $showSubmitButton |
||
| 34 | * @return string HTML |
||
| 35 | */ |
||
| 36 | 3 | public function render(EcommercePaymentRequest $ecommercePaymentRequest, $formName = 'ogone', $showSubmitButton = true) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @deprecated Will be removed in next major released, directly integrated in render method. |
||
| 48 | * @param bool $bool |
||
| 49 | */ |
||
| 50 | public function showSubmitButton($bool = true) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @deprecated Will be removed in next major released, directly integrated in render method. |
||
| 57 | * @param $formName |
||
| 58 | */ |
||
| 59 | public function setFormName($formName) |
||
| 63 | } |
||
| 64 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.