예제 #1
0
 /**
  * Convert a value to camel case.
  *
  * @param  string  $value  Value to be converted in camel case
  *
  * @return string          Converted string
  */
 function camel_case($value)
 {
     return \Anekdotes\Support\Str::camelCase($value);
 }
예제 #2
0
 public function testCamelCase5()
 {
     $this->assertEquals(Str::camelCase('foo-bar'), 'fooBar');
 }