src/Core/Model.php
protected function snakeToCamelCase($string, $smallFirst = false)
    {
        $parts = explode('_', $string);

        array_walk($parts, function(&$element) {
           $element = ucfirst($element);
        });

        $result = implode('', $parts);

        return $smallFirst ? lcfirst($result) : $result;
    }
protected function snakeToCamelCase($string, $smallFirst = false)
    {
        $parts = explode('_', $string);

        array_walk($parts, function(&$element) {
           $element = ucfirst($element);
        });

        $result = implode('', $parts);

        return $smallFirst ? lcfirst($result) : $result;
    }
protected function snakeToCamelCase ( $ string , $ smallFirst = false ) { $ parts = explode ( '_' , $ string ) ; array_walk ( $ parts , function ( & $ element ) { $ element = ucfirst ( $ element ) ; } ) ; $ result = implode ( '' , $ parts ) ; return $ smallFirst ? lcfirst ( $ result ) : $ result ; }
Converts snake_cased string to camelCase
@param string $string
@param bool $smallFirst
@return string
Converts snake_cased string to camelCase