Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function getPaymentMethods() |
||
20 | { |
||
21 | $merchants = Yii::$app->getModule('merchant')->getPurchaseRequestCollection( |
||
22 | new \hiqdev\yii2\merchant\models\DepositRequest(['amount' => 5]) |
||
23 | )->getItems(); |
||
24 | |||
25 | return Yii::$app->getView()->renderFile(dirname(__DIR__) . '/views/cart/payment-methods.php', [ |
||
26 | 'merchants' => $merchants, |
||
27 | ]); |
||
28 | } |
||
29 | } |
||
30 |