| 1 | <?php |
||
| 9 | class UnsubscribeTerminator extends PipelineTerminator |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var SubscriptionManagerInterface |
||
| 13 | */ |
||
| 14 | private $subscriptionManager; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param SubscriptionManagerInterface $subscriptionManager |
||
| 18 | */ |
||
| 19 | 4 | public function __construct(SubscriptionManagerInterface $subscriptionManager) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param UnsubscribeContext $context |
||
| 26 | */ |
||
| 27 | 1 | protected function terminate($context) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | 1 | public static function getStageContextClass() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | 1 | public static function getNextStageContextClass() |
|
| 47 | } |
||
| 48 |