/** * Función responsable de listar los tipos de identificación * disponibles para el país actual. * * @return array, lista de tipos de identificación encontrados. */ public function getIdentificationTypeList($countryId = '') { if (empty($countryId)) { $countryId = Config::get('constants.APP.COUNTRY_CODES.CO'); } $identificationTypeList = IdentificationType::where('countryId', $countryId)->orderBy(Config::get('constants.IDENTIFICATION_TYPE.ATTRS.IDENTIFICATION_TYPE_ID'))->get(); return $identificationTypeList; }