aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/symfony/intl/Symfony/Component/Intl/Exception/MethodArgumentNotImplementedException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/intl/Symfony/Component/Intl/Exception/MethodArgumentNotImplementedException.php')
-rw-r--r--vendor/symfony/intl/Symfony/Component/Intl/Exception/MethodArgumentNotImplementedException.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Exception/MethodArgumentNotImplementedException.php b/vendor/symfony/intl/Symfony/Component/Intl/Exception/MethodArgumentNotImplementedException.php
new file mode 100644
index 00000000..570609d0
--- /dev/null
+++ b/vendor/symfony/intl/Symfony/Component/Intl/Exception/MethodArgumentNotImplementedException.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
14use Symfony\Component\Intl\Exception\NotImplementedException;
15
16/**
17 * @author Eriksen Costa <eriksen.costa@infranology.com.br>
18 */
19class MethodArgumentNotImplementedException extends NotImplementedException
20{
21 /**
22 * Constructor
23 *
24 * @param string $methodName The method name that raised the exception
25 * @param string $argName The argument name that is not implemented
26 */
27 public function __construct($methodName, $argName)
28 {
29 $message = sprintf('The %s() method\'s argument $%s behavior is not implemented.', $methodName, $argName);
30 parent::__construct($message);
31 }
32}