浏览代码

[Locale] Added stubs for \Collator and \IntlDateFormatter

Bernhard Schussek 14 年之前
父节点
当前提交
4af27bd590

+ 18 - 0
src/Symfony/Component/Locale/Resources/stubs/Collator.php

@@ -0,0 +1,18 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Stub implementation for the Collator class of the intl extension
+ *
+ * @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
+ * @see Symfony\Component\Collator\Stub\StubCollator
+ */
+class Collator extends \Symfony\Component\Locale\Stub\StubCollator {}

+ 18 - 0
src/Symfony/Component/Locale/Resources/stubs/IntlDateFormatter.php

@@ -0,0 +1,18 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Stub implementation for the IntlDateFormatter class of the intl extension
+ *
+ * @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
+ * @see Symfony\Component\IntlDateFormatter\Stub\StubIntlDateFormatter
+ */
+class IntlDateFormatter extends \Symfony\Component\Locale\Stub\StubIntlDateFormatter {}