Skip to content

2.4.0: No global functions and new shortcuts

Compare
Choose a tag to compare
@wapmorgan wapmorgan released this 15 Mar 17:18
· 337 commits to master since this release
  • Deleted all global functions! Now global namespace is not used at all.
  • Added new shortcuts:
    • morphos\Russian\pluralize($word, $count = 2, $animateness = false)
    • morphos\English\pluralize($word, $count = 2)
  • Changed one shortcut:
    • morphos\Russian\nameCase() is renamed to morphos\Russian\name()
  • Refactored and restructured few classes.
  • Added string helper morphos\S for internal use.