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