From 4c651619537a896c53ab54e29084b92951f408eb Mon Sep 17 00:00:00 2001 From: Xavier Perez Date: Mon, 7 Feb 2011 13:57:27 +0100 Subject: [PATCH] [Yaml] Added PHPDoc on getTimestampRegex() --- src/Symfony/Component/Yaml/Inline.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Symfony/Component/Yaml/Inline.php b/src/Symfony/Component/Yaml/Inline.php index bb7f3057fc..9cc7b5932b 100644 --- a/src/Symfony/Component/Yaml/Inline.php +++ b/src/Symfony/Component/Yaml/Inline.php @@ -379,6 +379,11 @@ class Inline } } + /** + * Get a regex that match a unix timestamp + * + * @return string The regular expression + */ static protected function getTimestampRegex() { return <<