1 | <?php |
||
14 | class FeatureContext implements Context, SnippetAcceptingContext |
||
|
|||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @var BloomFilter |
||
19 | */ |
||
20 | protected $bloomFilter; |
||
21 | |||
22 | /** |
||
23 | * Initializes context. |
||
24 | * |
||
25 | * Every scenario gets its own context instance. |
||
26 | * You can also pass arbitrary arguments to the |
||
27 | * context constructor through behat.yml. |
||
28 | */ |
||
29 | public function __construct() |
||
32 | |||
33 | |||
34 | /** |
||
35 | * @Given a BloomFilter for :elements elements with probability :probability for a false-positive |
||
36 | */ |
||
37 | public function aBloomfilterForElementsWithProbabilityForAFalsePositive($elements, $probability) |
||
41 | |||
42 | /** |
||
43 | * @When I insert :item |
||
44 | */ |
||
45 | public function iInsert($item) |
||
49 | |||
50 | /** |
||
51 | * @Then it should confirm :item is in set |
||
52 | */ |
||
53 | public function itShouldConfirmIsInSet($item) |
||
59 | |||
60 | /** |
||
61 | * @Then it should confirm :item is not in set |
||
62 | */ |
||
63 | public function itShouldConfirmIsNotInSet($item) |
||
69 | |||
70 | /** |
||
71 | * @Given /^I serialize and unserialize$/ |
||
72 | */ |
||
73 | public function iSerializeAndUnserialize() |
||
78 | |||
79 | |||
80 | } |
||
81 |
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.