Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
11 | class CartDeletedEvent extends Event /*implements ShopwareSalesChannelEvent*/ |
||
12 | { |
||
13 | /** |
||
14 | * @var SalesChannelContext |
||
15 | */ |
||
16 | protected $context; |
||
17 | |||
18 | public function __construct(SalesChannelContext $context) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @deprecated tag:v6.4.0 - Will return Shopware\Core\Framework\Context instead |
||
25 | */ |
||
26 | public function getContext(): SalesChannelContext |
||
27 | { |
||
28 | return $this->context; |
||
29 | } |
||
30 | |||
31 | public function getSalesChannelContext(): SalesChannelContext |
||
34 | } |
||
35 | } |
||
36 |