public static function toCamelcase($string, $capitalizeFirstCharacter = false) {

		if(false === is_string($string)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($string)), E_USER_ERROR);
		}

		if(false === is_bool($capitalizeFirstCharacter)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type boolean, "%s" given', __METHOD__, gettype($capitalizeFirstCharacter)), E_USER_ERROR);
		}

	    $str = str_replace(' ', '', ucwords(str_replace('_', ' ', $string)));

	    if(false === $capitalizeFirstCharacter) {
	        $str[0] = strtolower($str[0]);
	    }

	    return $str;
	}