Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ catch (InvalidDocumentException $e){
echo $e->getMessage();
}
```

### PIS/PASEP (programa de integração social e programa de formação do patrimônio do servidor público)

Social Integration Program and Training Program of the Heritage of Public Servant
Expand All @@ -134,6 +135,24 @@ catch (InvalidDocumentException $e){
}
```

### Título de Eleitor

Voter Registration

```php
use Brazanation\Documents\Voter;
use Brazanation\Documents\Exception\InvalidDocument as InvalidDocumentException;

try {
$pispasep = new Voter('106644440302', 20, 42);
echo $pispasep; // prints 106644440302
echo $pispasep->getSection(); // prints 0020
echo $pispasep->getZone(); // prints 042
catch (InvalidDocumentException $e){
echo $e->getMessage();
}
```

### License

MIT, hell yeah!
Expand Down