Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
22 | final class StringableMediaType implements MediaTypeInterface, Stringable |
||
23 | { |
||
24 | 2 | public function __construct( |
|
27 | 2 | } |
|
28 | |||
29 | 2 | public static function create(MediaTypeInterface $mediaType): self |
|
32 | } |
||
33 | |||
34 | 2 | public function getIdentifier(): string |
|
35 | { |
||
36 | 2 | return $this->mediaType->getIdentifier(); |
|
37 | } |
||
38 | |||
39 | 2 | public function __toString(): string |
|
42 | } |
||
43 | } |
||
44 |