Takes a CamelCased version of a word and turns it into an under_scored one.
public static underscore ( string $word ) : string | ||
$word | string | CamelCased version of a word (i.e. `'RedBike'`). |
return | string | Under_scored version of the workd (i.e. `'red_bike'`). |