src/StringConverter/Types/Camel.php
public function from(Contract $contract, string $string, callable $callback = null): string
    {
        return $this->callback(
            $contract->recipe(
                $string,
                'upperCaseFirst',
                function ($string) use ($contract) {

                    if ($contract instanceof ClassName) {
                        return lcfirst($string);
                    }

                    return strtolower($string);
                }
            ),
            $callback
        );
    }
public function from(Contract $contract, string $string, callable $callback = null): string
    {
        return $this->callback(
            $contract->recipe(
                $string,
                'upperCaseFirst',
                function ($string) use ($contract) {

                    if ($contract instanceof ClassName) {
                        return lcfirst($string);
                    }

                    return strtolower($string);
                }
            ),
            $callback
        );
    }
Convert to camel case.

@param  \SSD\StringConverter\Types\Contract $contract
@param  string $string
@param  callable|null $callback
@return string