protected function parseParameters($rule, $parameter) { if (strtolower($rule) === 'regex') { return [$parameter]; } return str_getcsv($parameter); }