1 | <?php |
||
13 | class FeatureContext implements Context, SnippetAcceptingContext |
||
|
|||
14 | { |
||
15 | /** |
||
16 | * @var string|null |
||
17 | */ |
||
18 | private $workDir = null; |
||
19 | |||
20 | /** |
||
21 | * @var ApplicationTester|null |
||
22 | */ |
||
23 | private $applicationTester = null; |
||
24 | |||
25 | /** |
||
26 | * @BeforeScenario |
||
27 | */ |
||
28 | public function createWorkDir() |
||
39 | |||
40 | /** |
||
41 | * @AfterScenario |
||
42 | */ |
||
43 | public function removeWorkDir() |
||
48 | |||
49 | /** |
||
50 | * @Then the spec file :file should contain: |
||
51 | */ |
||
52 | public function theSpecFileShouldContain($file, PyStringNode $string) |
||
61 | |||
62 | /** |
||
63 | * @Given the spec file :file contains: |
||
64 | */ |
||
65 | public function theSpecFileContains($file, PyStringNode $string) |
||
70 | |||
71 | /** |
||
72 | * @param $file |
||
73 | * @param PyStringNode $string |
||
74 | * @return void |
||
75 | */ |
||
76 | private function saveFile($file, PyStringNode $string) |
||
85 | |||
86 | /** |
||
87 | * @return ApplicationTester |
||
88 | */ |
||
89 | private function createApplicationTester() |
||
97 | |||
98 | /** |
||
99 | * @When I run phpspec exemplify to add the :method method to :class |
||
100 | */ |
||
101 | public function iRunPhpspecExemplifyToAddTheMethodTo($method, $class) |
||
106 | |||
107 | /** |
||
108 | * @Then /^(?:|I )should see "(?P<message>[^"]*)"$/ |
||
109 | */ |
||
110 | public function iShouldSee($message) |
||
118 | |||
119 | /** |
||
120 | * @When I run phpspec exemplify to add the :method method as a :type to :class |
||
121 | */ |
||
122 | public function iRunPhpspecExemplifyToAddTheMethodAsATo($method, $type, $class) |
||
130 | } |
||
131 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.