aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/symfony/intl/Symfony/Component/Intl/Exception/NotImplementedException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/intl/Symfony/Component/Intl/Exception/NotImplementedException.php')
-rw-r--r--vendor/symfony/intl/Symfony/Component/Intl/Exception/NotImplementedException.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Exception/NotImplementedException.php b/vendor/symfony/intl/Symfony/Component/Intl/Exception/NotImplementedException.php
new file mode 100644
index 00000000..1f3ba46b
--- /dev/null
+++ b/vendor/symfony/intl/Symfony/Component/Intl/Exception/NotImplementedException.php
@@ -0,0 +1,32 @@
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
12namespace Symfony\Component\Intl\Exception;
13
14/**
15 * Base exception class for not implemented behaviors of the intl extension in the Locale component.
16 *
17 * @author Eriksen Costa <eriksen.costa@infranology.com.br>
18 */
19class NotImplementedException extends RuntimeException
20{
21 const INTL_INSTALL_MESSAGE = 'Please install the "intl" extension for full localization capabilities.';
22
23 /**
24 * Constructor
25 *
26 * @param string $message The exception message. A note to install the intl extension is appended to this string
27 */
28 public function __construct($message)
29 {
30 parent::__construct($message.' '.self::INTL_INSTALL_MESSAGE);
31 }
32}