Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of sebastian/cli-parser.
4
 *
5
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace SebastianBergmann\CliParser;
11
 
12
use function sprintf;
13
use RuntimeException;
14
 
15
final class AmbiguousOptionException extends RuntimeException implements Exception
16
{
17
    public function __construct(string $option)
18
    {
19
        parent::__construct(
20
            sprintf(
21
                'Option "%s" is ambiguous',
22
                $option
23
            )
24
        );
25
    }
26
}