Skip to content

3.0.0: New API

Compare
Choose a tag to compare
@wapmorgan wapmorgan released this 08 Apr 13:18
· 325 commits to master since this release
  • All methods of all classes are static now. Not need to create instanes of declension classes anymore.
    echo morphos\Russian\GeneralDeclension::getCases('стол');
  • Removed few methods:
    • OrdinalNumeral::generate()
    • CardinalNumeral::generate()
  • morphos\NamesDeclension gender constants (MAN and WOMAN) replaced by morphos\Gender constants MALE, FEMALE and NEUTER
  • Added new Russian declension class - GeographicalNamesDeclension for cities, countries, streets, continents names declension.