FOF30\Inflector\Inflector::humanize PHP Метод

humanize() публичный Метод

Returns a human-readable string from $word, by replacing underscores with a space, and by upper-casing the initial character by default.
public humanize ( string $word ) : string
$word string String to "humanize"
Результат string Human-readable word
    public function humanize($word)
    {
        $result = ucwords(strtolower(str_replace("_", " ", $word)));
        return $result;
    }