diff --git a/lib/yaml/sfYaml.class.php b/lib/yaml/sfYaml.class.php index 80085856c..6fb124516 100644 --- a/lib/yaml/sfYaml.class.php +++ b/lib/yaml/sfYaml.class.php @@ -165,3 +165,13 @@ protected static function arrayConvertEncoding(array $result, $encoding) return $convertedResult; } } + +/** + * Wraps echo to automatically provide a newline. + * + * @param string $string The string to echo with new line + */ +function echoln($string) +{ + echo $string."\n"; +}