| 1 | <?php |
||
| 7 | class ArticlesListParametersConverter implements ConverterInterface |
||
| 8 | { |
||
| 9 | private $keysToConvertFromTypes = [ |
||
| 10 | 'includeSubsections' => 'boolean', |
||
| 11 | 'homeSectionOnly' => 'boolean', |
||
| 12 | ]; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * {@inheritdoc} |
||
| 16 | */ |
||
| 17 | public function convert(array $parameters) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param mixed $parameterValue |
||
| 32 | * |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | protected function convertBoolean($parameterValue) |
||
| 47 | } |
||
| 48 |