Altax\Util\Str::camel PHP 메소드

camel() 공개 정적인 메소드

Convert a value to camel case.
public static camel ( string $value ) : string
$value string
리턴 string
    public static function camel($value)
    {
        return lcfirst(static::studly($value));
    }

Usage Example

예제 #1
0
 public function testCamel()
 {
     $this->assertEquals("aaaBbbCcc", Str::camel("aaa_bbb_ccc"));
 }