1 | <?php |
||
21 | final class ManagingTranslatableEntitiesContext implements Context |
||
22 | { |
||
23 | /** |
||
24 | * @var CreatePage |
||
25 | */ |
||
26 | private $taxonCreatePage; |
||
27 | |||
28 | /** |
||
29 | * @param CreatePage $taxonCreatePage |
||
30 | */ |
||
31 | public function __construct(CreatePage $taxonCreatePage) |
||
35 | |||
36 | /** |
||
37 | * @When I want to create a new translatable entity |
||
38 | */ |
||
39 | public function iWantToCreateANewTranslatableEntity() |
||
43 | |||
44 | /** |
||
45 | * @Then I should be able to translate it in :localeCode |
||
46 | */ |
||
47 | public function iShouldBeAbleToTranslateItIn($localeCode) |
||
51 | |||
52 | /** |
||
53 | * @Then I should not be able to translate it in :localeCode |
||
54 | */ |
||
55 | public function iShouldNotBeAbleToTranslateItIn($localeCode) |
||
65 | } |
||
66 |