1 | <?php |
||
22 | final class RemovingTaxonContext implements Context |
||
23 | { |
||
24 | /** @var CreatePageInterface */ |
||
25 | private $createPage; |
||
26 | |||
27 | /** @var NotificationCheckerInterface */ |
||
28 | private $notificationChecker; |
||
29 | |||
30 | public function __construct(CreatePageInterface $createPage, NotificationCheckerInterface $notificationChecker) |
||
35 | |||
36 | /** |
||
37 | * @When I remove taxon named :name |
||
38 | * @When I delete taxon named :name |
||
39 | */ |
||
40 | public function iRemoveTaxonNamed(string $name): void |
||
45 | |||
46 | /** |
||
47 | * @Then I should be notified that :promotion promotion has been updated |
||
48 | */ |
||
49 | public function iShouldBeNotifiedThatPromotionHasBeenUpdated(PromotionInterface $promotion): void |
||
56 | } |
||
57 |