| 1 | <?php |
||
| 23 | class Matcher |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Request decoders |
||
| 27 | * |
||
| 28 | * @var array<Reva2\JsonApi\Annotations\Decoder> |
||
| 29 | */ |
||
| 30 | public $decoders; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Response encoders |
||
| 34 | * |
||
| 35 | * @var array<Reva2\JsonApi\Annotations\Encoder> |
||
| 36 | */ |
||
| 37 | public $encoders; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | 1 | public function toArray() |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @param MediaType $mediaType |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | 1 | private function getMediaType(MediaType $mediaType) |
|
| 69 | } |
||
| 70 |