Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
3 / 3
CRAP
100.00% covered (success)
100.00%
1 / 1
Parser
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
3 / 3
3
100.00% covered (success)
100.00%
1 / 1
 getParserByName
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 objectClass
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 objectProperty
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace WsdlToPhp\PackageGenerator\Container;
6
7use WsdlToPhp\PackageGenerator\Parser\AbstractParser;
8
9final class Parser extends AbstractObjectContainer
10{
11    public function getParserByName(string $name): ?AbstractParser
12    {
13        return $this->get($name);
14    }
15
16    protected function objectClass(): string
17    {
18        return AbstractParser::class;
19    }
20
21    protected function objectProperty(): string
22    {
23        return self::PROPERTY_NAME;
24    }
25}