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 PHPUnit.
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 PHPUnit\Framework\MockObject;
11
 
12
use function sprintf;
13
 
14
/**
15
 * @internal This class is not covered by the backward compatibility promise for PHPUnit
16
 */
17
final class InvalidMethodNameException extends \PHPUnit\Framework\Exception implements Exception
18
{
19
    public function __construct(string $method)
20
    {
21
        parent::__construct(
22
            sprintf(
23
                'Cannot double method with invalid name "%s"',
24
                $method
25
            )
26
        );
27
    }
28
}