private function convertToArrayIfString($value) { if (is_string($value)) { $value = explode(',', $value); } return $value; }