Hanami uses the inflector internally for a variety of purposes, but it’s also available to use in your own code via the component.
A common reason for customization is to configure inflections to support desired class names and other constants. For example, the WNBA
acronym above supports constants like instead of Games::Wnba
. See the autoloading guide for more detail.
Use it in your own classes via the Deps mixin through include Deps["inflector"]
.