public function snakeToCamel($text)
	{
		if (strpos($text, '_') !== false)
		{
			$bits = explode('_', $text);
			$bits = array_map('ucfirst', $bits);
			$text = lcfirst(implode('', $bits));
		}

		return $text;
	}
public function snakeToCamel($text)
	{
		if (strpos($text, '_') !== false)
		{
			$bits = explode('_', $text);
			$bits = array_map('ucfirst', $bits);
			$text = lcfirst(implode('', $bits));
		}

		return $text;
	}
public function snakeToCamel ( $ text ) { if ( strpos ( $ text , '_' ) !== false ) { $ bits = explode ( '_' , $ text ) ; $ bits = array_map ( 'ucfirst' , $ bits ) ; $ text = lcfirst ( implode ( '' , $ bits ) ) ; } return $ text ; }
Takes a snake-cased string and camel cases it

@param   string  $text  The string to camel case
@return  string
@since   2.0.0
Takes a snake - cased string and camel cases it