yii\helpers\BaseInflector::variablize PHP 메소드

variablize() 공개 정적인 메소드

Converts a word like "send_email" to "sendEmail". It will remove non alphanumeric character from the word, so "who's online" will be converted to "whoSOnline"
public static variablize ( string $word ) : string
$word string to lowerCamelCase
리턴 string
    public static function variablize($word)
    {
        $word = static::camelize($word);
        return strtolower($word[0]) . substr($word, 1);
    }