/** * 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); }
public function testCamelCase5() { $this->assertEquals(Str::camelCase('foo-bar'), 'fooBar'); }