Payment.php 381 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace App\Shop\PaymentMethods;
  3. class Payment
  4. {
  5. /**
  6. * @var $payment
  7. */
  8. protected $payment;
  9. /**
  10. * Payment constructor.
  11. * @param $class
  12. */
  13. public function __construct($class)
  14. {
  15. $this->payment = $class;
  16. }
  17. /**
  18. * @return mixed
  19. */
  20. public function init()
  21. {
  22. return $this->payment;
  23. }
  24. }