1 | <?php |
||
12 | class FeatureContext extends RawMinkContext implements Context, SnippetAcceptingContext |
||
13 | { |
||
14 | private $signatureConfig; |
||
15 | |||
16 | public function __construct(SignatureConfig $signatureConfig) |
||
20 | |||
21 | /** |
||
22 | * @When I am on :url with good signature |
||
23 | */ |
||
24 | public function iAmOnWithGoodSignature($url) |
||
32 | |||
33 | /** |
||
34 | * @When I am on :url with good signature but I wait :seconds seconds before perform request |
||
35 | */ |
||
36 | public function iAmOnWithGoodSignatureButIWaitSecondsBeforePerformRequest($url, $seconds) |
||
46 | |||
47 | /** |
||
48 | * @When I am on :url with wrong signature |
||
49 | */ |
||
50 | public function iAmOnWithWrongSignature($url) |
||
56 | |||
57 | private function buildUrlSigned($url, $signature, $timestamp) |
||
61 | |||
62 | private function buildSignature($url, $timestamp) |
||
68 | } |
||
69 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.