Str::camel

Posted on November 25, 2016

The Str::case function converts the given string to camelCase.

We use a simple string and the camel() method creates the camel case version of it.

Example usage

$camel = Str::case('foo_bar');

// fooBar

Parameters

string $value

Return Value

string

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *