1 | <?php |
||
25 | final class SeeTagContext extends BaseContext implements Context |
||
26 | { |
||
27 | /** |
||
28 | * @param string $classFqsen |
||
29 | * @throws Exception |
||
30 | * @Then class ":classFqsen" has a tag see referencing url ":reference" |
||
31 | */ |
||
32 | public function classHasTagSeeReferencingUrl($classFqsen, $reference) |
||
38 | |||
39 | /** |
||
40 | * @param string $classFqsen |
||
41 | * @Then class ":classFqsen" has :number tag/tags see referencing :element descriptor ":reference" |
||
42 | * @throws Exception |
||
43 | */ |
||
44 | public function classHasTagSeeReferencing($classFqsen, $number, $element, $reference) |
||
48 | |||
49 | /** |
||
50 | * @param string $classFqsen |
||
51 | * @throws Exception |
||
52 | * @Then class ":classFqsen" has :number tag/tags see referencing :element descriptor ":reference" with description: |
||
53 | */ |
||
54 | public function classHasTagSeeReferencingWithDescription($classFqsen, $number, $element, $reference, PyStringNode $description) |
||
71 | |||
72 | /** |
||
73 | * @then function ":function" has tag see referencing ":reference" |
||
74 | * @throws Exception |
||
75 | */ |
||
76 | public function functionHasSeeTagReferencing(string $function, string $reference) |
||
81 | |||
82 | /** |
||
83 | * @param $reference |
||
84 | * @param SeeDescriptor[] $seeTags |
||
85 | * @throws Exception |
||
86 | */ |
||
87 | private function hasSeeTagReference($seeTags, $reference) : void |
||
98 | } |
||
99 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.