Преглед на файлове

[Locale] Added stubs for \Collator and \IntlDateFormatter

Bernhard Schussek преди 14 години
родител
ревизия
4af27bd590
променени са 2 файла, в които са добавени 36 реда и са изтрити 0 реда
  1. 18 0
      src/Symfony/Component/Locale/Resources/stubs/Collator.php
  2. 18 0
      src/Symfony/Component/Locale/Resources/stubs/IntlDateFormatter.php

+ 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 {}