Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wapmorgan authored Jun 3, 2017
1 parent 622bf63 commit 88a59f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,10 @@ echo $count.' '.morphos\Russian\pluralize('дом', $count, false); // result: 1

## Numerals

All number creation classes are similar and have three common methods:
All number creation classes are similar and have twp common methods:

- `string getCase($number, $case, $gender = Gender::MALE)` - Get one case of a numeral for a number.
- `array getCases($number, $gender = Gender::MALE)` - Get all case of a numeral for a number.
- `string generate($number, $gender = Gender::MALE)` - Generates a cardinal or ordinal numeral for a number.

`$gender` is one of `morphos\Gender` constants: `MALE` or `FEMALE` or `NEUTER`.

Expand Down

0 comments on commit 88a59f8

Please sign in to comment.