1 | <?php |
||
8 | class Old extends State |
||
9 | { |
||
10 | const LABEL = 'Pernambuco'; |
||
11 | |||
12 | const REGEX = '/^(18)(\d)(\d{3})(\d{7})(\d{1})$/'; |
||
13 | |||
14 | const FORMAT = '$1.$2.$3.$4-$5'; |
||
15 | |||
16 | const LENGTH = 14; |
||
17 | |||
18 | const DIGITS_COUNT = 1; |
||
19 | |||
20 | 10 | public function __construct() |
|
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | * |
||
28 | * @see http://www.sintegra.gov.br/Cad_Estados/cad_PE.html |
||
29 | */ |
||
30 | 7 | public function calculateDigit($baseNumber) |
|
42 | } |
||
43 |