Skip to content

Commit

Permalink
Updated readme with interim info.
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Tegnér <johannes@jitesoft.com>
  • Loading branch information
Johannestegner committed Jan 20, 2024
1 parent afe031d commit 1d81bbc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ composer require personnummer/personnummer

#### Instance
| Method | Arguments | Returns |
| ---------------------|:----------------|--------:|
|----------------------|:----------------|--------:|
| format | bool longFormat | string |
| getAge | none | int |
| isMale | none | bool |
| isFemale | none | bool |
| isCoordinationNumber | none | bool |
| isInterimNumber | none | bool |

| Property | Type | Description |
| ---------|:-------|----------------------------:|
Expand All @@ -39,9 +40,10 @@ composer require personnummer/personnummer
When a personnummer is invalid a PersonnummerException is thrown.

## Options
| Option | Type | Default | Description |
| ------------------------|:-----|:--------|:---------------------------:|
| Option | Type | Default | Description |
|-------------------------|:-----|:--------|:---------------------------:|
| allowCoordinationNumber | bool | true | Accept coordination numbers |
| allowInterimNumber | bool | false | Accept interim/T numbers |

## Examples

Expand Down

0 comments on commit 1d81bbc

Please sign in to comment.