Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
1 / 1 |
Schema | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
1 / 1 |
getSchemaByName | |
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\Schema as Model; |
8 | |
9 | final class Schema extends AbstractModel |
10 | { |
11 | public function getSchemaByName(string $name): ?Model |
12 | { |
13 | return $this->get($name); |
14 | } |
15 | |
16 | protected function objectClass(): string |
17 | { |
18 | return Model::class; |
19 | } |
20 | } |