* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShopBundle\Api; class QueryTranslationParamsCollection extends QueryParamsCollection { protected $defaultPageIndex = 1; protected $defaultPageSize = 20; /** * @return array */ protected function getValidFilterParams() { return []; } /** * @return array */ protected function getValidOrderParams() { return []; } /** * @param array $queryParams * * @return mixed */ protected function setDefaultOrderParam($queryParams) { $queryParams['order'] = ['unknown']; return $queryParams; } }