Solar_Inflect::dashesToStudly()

public string Solar_Inflect::dashesToStudly ( string $str )

Returns "foo-bar-baz" as "FooBarBaz".

Parameters

  • (string) $str: The dashed word.

Returns

  • (string) The word in studly-caps.

Description

Returns "foo-bar-baz" as "FooBarBaz".



Local