diff options
Diffstat (limited to 'vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs')
5 files changed, 164 insertions, 0 deletions
diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/Collator.php b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/Collator.php new file mode 100644 index 00000000..4c373d86 --- /dev/null +++ b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/Collator.php | |||
@@ -0,0 +1,21 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | /** | ||
13 | * Stub implementation for the Collator class of the intl extension | ||
14 | * | ||
15 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
16 | * | ||
17 | * @see \Symfony\Component\Intl\Collator\StubCollator | ||
18 | */ | ||
19 | class Collator extends \Symfony\Component\Intl\Collator\Collator | ||
20 | { | ||
21 | } | ||
diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/IntlDateFormatter.php b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/IntlDateFormatter.php new file mode 100644 index 00000000..52a07e95 --- /dev/null +++ b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/IntlDateFormatter.php | |||
@@ -0,0 +1,21 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | /** | ||
13 | * Stub implementation for the IntlDateFormatter class of the intl extension | ||
14 | * | ||
15 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
16 | * | ||
17 | * @see \Symfony\Component\Intl\DateFormatter\IntlDateFormatter | ||
18 | */ | ||
19 | class IntlDateFormatter extends \Symfony\Component\Intl\DateFormatter\IntlDateFormatter | ||
20 | { | ||
21 | } | ||
diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/Locale.php b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/Locale.php new file mode 100644 index 00000000..045db40c --- /dev/null +++ b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/Locale.php | |||
@@ -0,0 +1,21 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | /** | ||
13 | * Stub implementation for the Locale class of the intl extension | ||
14 | * | ||
15 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
16 | * | ||
17 | * @see \Symfony\Component\Intl\Locale\Locale | ||
18 | */ | ||
19 | class Locale extends \Symfony\Component\Intl\Locale\Locale | ||
20 | { | ||
21 | } | ||
diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/NumberFormatter.php b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/NumberFormatter.php new file mode 100644 index 00000000..318efb49 --- /dev/null +++ b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/NumberFormatter.php | |||
@@ -0,0 +1,21 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | /** | ||
13 | * Stub implementation for the NumberFormatter class of the intl extension | ||
14 | * | ||
15 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
16 | * | ||
17 | * @see \Symfony\Component\Intl\NumberFormatter\NumberFormatter | ||
18 | */ | ||
19 | class NumberFormatter extends \Symfony\Component\Intl\NumberFormatter\NumberFormatter | ||
20 | { | ||
21 | } | ||
diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/functions.php b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/functions.php new file mode 100644 index 00000000..7a2d4b67 --- /dev/null +++ b/vendor/symfony/intl/Symfony/Component/Intl/Resources/stubs/functions.php | |||
@@ -0,0 +1,80 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | use Symfony\Component\Intl\Globals\IntlGlobals; | ||
13 | |||
14 | if (!function_exists('intl_is_failure')) { | ||
15 | |||
16 | /** | ||
17 | * Stub implementation for the {@link intl_is_failure()} function of the intl | ||
18 | * extension. | ||
19 | * | ||
20 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
21 | * | ||
22 | * @param integer $errorCode The error code returned by intl_get_error_code(). | ||
23 | * | ||
24 | * @return Boolean Whether the error code indicates an error. | ||
25 | * | ||
26 | * @see \Symfony\Component\Intl\Globals\StubIntlGlobals::isFailure | ||
27 | */ | ||
28 | function intl_is_failure($errorCode) | ||
29 | { | ||
30 | return IntlGlobals::isFailure($errorCode); | ||
31 | } | ||
32 | |||
33 | /** | ||
34 | * Stub implementation for the {@link intl_get_error_code()} function of the | ||
35 | * intl extension. | ||
36 | * | ||
37 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
38 | * | ||
39 | * @return Boolean The error code of the last intl function call or | ||
40 | * IntlGlobals::U_ZERO_ERROR if no error occurred. | ||
41 | * | ||
42 | * @see \Symfony\Component\Intl\Globals\StubIntlGlobals::getErrorCode | ||
43 | */ | ||
44 | function intl_get_error_code() | ||
45 | { | ||
46 | return IntlGlobals::getErrorCode(); | ||
47 | } | ||
48 | |||
49 | /** | ||
50 | * Stub implementation for the {@link intl_get_error_code()} function of the | ||
51 | * intl extension. | ||
52 | * | ||
53 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
54 | * | ||
55 | * @return Boolean The error message of the last intl function call or | ||
56 | * "U_ZERO_ERROR" if no error occurred. | ||
57 | * | ||
58 | * @see \Symfony\Component\Intl\Globals\StubIntlGlobals::getErrorMessage | ||
59 | */ | ||
60 | function intl_get_error_message() | ||
61 | { | ||
62 | return IntlGlobals::getErrorMessage(); | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * Stub implementation for the {@link intl_error_name()} function of the intl | ||
67 | * extension. | ||
68 | * | ||
69 | * @param integer $errorCode The error code. | ||
70 | * | ||
71 | * @return string The name of the error code constant. | ||
72 | * | ||
73 | * @see \Symfony\Component\Intl\Globals\StubIntlGlobals::getErrorName | ||
74 | */ | ||
75 | function intl_error_name($errorCode) | ||
76 | { | ||
77 | return IntlGlobals::getErrorName($errorCode); | ||
78 | } | ||
79 | |||
80 | } | ||