Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
1 / 1 |
| StructValue | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
1 / 1 |
| getStructValueByName | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| objectClass | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace WsdlToPhp\PackageGenerator\Container\Model; |
| 6 | |
| 7 | use WsdlToPhp\PackageGenerator\Model\StructValue as Model; |
| 8 | |
| 9 | final class StructValue extends AbstractModel |
| 10 | { |
| 11 | public function getStructValueByName($name): ?Model |
| 12 | { |
| 13 | return $this->get($name); |
| 14 | } |
| 15 | |
| 16 | protected function objectClass(): string |
| 17 | { |
| 18 | return Model::class; |
| 19 | } |
| 20 | } |