LazyRecord\Inflector::humanize PHP Method

humanize() public method

(Underscores are replaced by spaces and capitalized following words.).
public humanize ( $lowerCaseAndUnderscoredWord ) : string
return string Human-readable string
    public function humanize($lowerCaseAndUnderscoredWord)
    {
        $_this =& self::getInstance();
        if (!($result = $_this->_cache(__FUNCTION__, $lowerCaseAndUnderscoredWord))) {
            $result = ucwords(str_replace('_', ' ', $lowerCaseAndUnderscoredWord));
            $_this->_cache(__FUNCTION__, $lowerCaseAndUnderscoredWord, $result);
        }
        return $result;
    }