Skip to content

Instantly share code, notes, and snippets.

@thallisphp
Created June 5, 2024 14:46
Show Gist options
  • Save thallisphp/e187a16b5bcbdf378a7eedeb834363a8 to your computer and use it in GitHub Desktop.
Save thallisphp/e187a16b5bcbdf378a7eedeb834363a8 to your computer and use it in GitHub Desktop.
Enum de Unidades da Federação do Brasil (Estados)
<?php
namespace App\Enums;
enum UfEnum: string
{
case AC = 'AC';
case AL = 'AL';
case AP = 'AP';
case AM = 'AM';
case BA = 'BA';
case CE = 'CE';
case DF = 'DF';
case ES = 'ES';
case GO = 'GO';
case MA = 'MA';
case MT = 'MT';
case MS = 'MS';
case MG = 'MG';
case PA = 'PA';
case PB = 'PB';
case PR = 'PR';
case PE = 'PE';
case PI = 'PI';
case RJ = 'RJ';
case RN = 'RN';
case RS = 'RS';
case RO = 'RO';
case RR = 'RR';
case SC = 'SC';
case SP = 'SP';
case SE = 'SE';
case TO = 'TO';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment