| Total Complexity | 7 | 
| Total Lines | 43 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 9 | class ChainableFormatRetriever implements FormatRetrieverInterface  | 
            ||
| 10 | { | 
            ||
| 11 | /**  | 
            ||
| 12 | * @var FormatRetrieverInterface[]  | 
            ||
| 13 | */  | 
            ||
| 14 | private $formatRetrievers;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * @param FormatRetrieverInterface[]  | 
            ||
| 18 | */  | 
            ||
| 19 | public function __construct(array $formatRetrievers)  | 
            ||
| 20 |     { | 
            ||
| 21 | $this->formatRetrievers = $formatRetrievers;  | 
            ||
| 22 | }  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @param string $contentType  | 
            ||
| 26 | * @return string|null  | 
            ||
| 27 | */  | 
            ||
| 28 | public function getFormat(string $contentType): ?string  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @param string $format  | 
            ||
| 41 | * @return string|null  | 
            ||
| 42 | */  | 
            ||
| 43 | public function getContentType(string $format): ?string  | 
            ||
| 54 |