Nextras\Orm\StorageReflection\StringHelper::camelize PHP 메소드

camelize() 공개 정적인 메소드

public static camelize ( string $string ) : string
$string string
리턴 string
    public static function camelize($string)
    {
        return lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', $string))));
    }

Usage Example

 public function formatEntityKey($key)
 {
     return StringHelper::camelize($key);
 }