| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class ODataReaderRegistry |
||
| 12 | { |
||
| 13 | /** @var IODataReader[] */ |
||
| 14 | private $readers = []; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param IODataReader $reader |
||
| 18 | */ |
||
| 19 | public function register(IODataReader $reader) |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Version $responseVersion |
||
| 26 | * @param $contentType |
||
| 27 | * |
||
| 28 | * @return IODataReader|null the writer that can handle the given criteria, or null |
||
| 29 | */ |
||
| 30 | public function getReader(Version $responseVersion, $contentType) |
||
| 40 |