1 | <?php |
||
2 | |||
3 | |||
4 | namespace Eres\SyliusIyzicoPlugin\Event; |
||
5 | |||
6 | use Sylius\Component\Payment\Model\PaymentInterface; |
||
7 | use Symfony\Component\EventDispatcher\Event; |
||
8 | |||
9 | class PaymentEvent extends Event |
||
0 ignored issues
–
show
Deprecated Code
introduced
by
![]() |
|||
10 | { |
||
11 | /** |
||
12 | * @var PaymentInterface |
||
13 | */ |
||
14 | private $payment; |
||
15 | |||
16 | public function getPayment(): ?PaymentInterface |
||
17 | { |
||
18 | return $this->payment; |
||
19 | } |
||
20 | |||
21 | public function setPayment(PaymentInterface $payment) |
||
22 | { |
||
23 | $this->payment = $payment; |
||
24 | } |
||
25 | } |
||
26 |