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