1 | <?php |
||
2 | |||
3 | namespace Alpha\VisitorTrackingBundle\Features\Context; |
||
4 | |||
5 | use Behat\Behat\Context\Context; |
||
6 | use Behat\Behat\Context\SnippetAcceptingContext; |
||
7 | use Behat\Symfony2Extension\Context\KernelDictionary; |
||
8 | use Behat\MinkExtension\Context\MinkContext; |
||
9 | |||
10 | /** |
||
11 | * Defines application features from the specific context. |
||
12 | */ |
||
13 | class FeatureContext extends MinkContext implements Context, SnippetAcceptingContext |
||
0 ignored issues
–
show
|
|||
14 | { |
||
15 | use KernelDictionary; |
||
16 | |||
17 | /** |
||
18 | * @Given /^the cookie "([^"]*)" has the value "([^"]*)"$/ |
||
19 | * |
||
20 | * @param string $name |
||
21 | * @param string $value |
||
22 | */ |
||
23 | public function theCookieHasTheValue($name, $value): void |
||
24 | { |
||
25 | $this->getSession()->setCookie($name, $value); |
||
26 | } |
||
27 | } |
||
28 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.