Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
4 / 4 |
|
100.00% |
3 / 3 |
CRAP | |
100.00% |
1 / 1 |
TagInput | |
100.00% |
4 / 4 |
|
100.00% |
3 / 3 |
3 | |
100.00% |
1 / 1 |
parsingTag | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getKnownType | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
setKnownType | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace WsdlToPhp\PackageGenerator\Parser\Wsdl; |
6 | |
7 | use WsdlToPhp\PackageGenerator\Model\Method; |
8 | use WsdlToPhp\WsdlHandler\Wsdl as WsdlDocument; |
9 | |
10 | final class TagInput extends AbstractTagInputOutputParser |
11 | { |
12 | protected function parsingTag(): string |
13 | { |
14 | return WsdlDocument::TAG_INPUT; |
15 | } |
16 | |
17 | protected function getKnownType(Method $method) |
18 | { |
19 | return $method->getParameterType(); |
20 | } |
21 | |
22 | protected function setKnownType(Method $method, $knownType): self |
23 | { |
24 | $method->setParameterType($knownType); |
25 | |
26 | return $this; |
27 | } |
28 | } |