Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
InvalidSignatureException.php
01 <?php
02
03 declare(strict_types=1);
04
05 namespace ProxyManager\Signature\Exception;
06
07 use ReflectionClass;
08 use UnexpectedValueException;
09
10 /**
11 * Exception for invalid provided signatures
12 *
13 * @author Marco Pivetta <ocramius@gmail.com>
14 * @license MIT
15 */
16 class InvalidSignatureException extends UnexpectedValueException implements ExceptionInterface
17 {
18 public static function fromInvalidSignature(
19 ReflectionClass $class,
20 array $parameters,
21 string $signature,
22 string $expected
23 ) : self {
24 return new self(sprintf(
25 'Found signature "%s" for class "%s" does not correspond to expected signature "%s" for %d parameters',
26 $signature,
27 $class->getName(),
28 $expected,
29 count($parameters)
30 ));
31 }
32 }
33