/** * Convert a value to studly caps case. * * @param string $value Value to be converted in studly case * * @return string Converted string */ function studly_case($value) { return \Anekdotes\Support\Str::studly($value); }
public function testStudly5() { $this->assertEquals(Str::studly('Foobar'), 'Foobar'); }