| 1 | <?php |
||
| 19 | abstract class Encodable extends ParameterAnnotation |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * The values are already encoded |
||
| 23 | * |
||
| 24 | * @var bool |
||
| 25 | */ |
||
| 26 | private $encoded; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Initialize annotation data |
||
| 30 | */ |
||
| 31 | protected function init(): void |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Returns true if the values are already encoded |
||
| 40 | * |
||
| 41 | * @return bool |
||
| 42 | */ |
||
| 43 | public function isEncoded(): bool |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Return the converter interface class |
||
| 50 | * |
||
| 51 | * Can be one of RequestBodyConverter, ResponseBodyConverter, or StringConverter |
||
| 52 | * |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function converterType(): ?string |
||
| 59 | } |
||
| 60 |