[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 declare(strict_types=1); 4 5 namespace ProxyManager\Signature\Exception; 6 7 use ReflectionClass; 8 use UnexpectedValueException; 9 10 /** 11 * Exception for no found signatures 12 * 13 * @author Marco Pivetta <ocramius@gmail.com> 14 * @license MIT 15 */ 16 class MissingSignatureException extends UnexpectedValueException implements ExceptionInterface 17 { 18 public static function fromMissingSignature(ReflectionClass $class, array $parameters, string $expected) : self 19 { 20 return new self(sprintf( 21 'No signature found for class "%s", expected signature "%s" for %d parameters', 22 $class->getName(), 23 $expected, 24 count($parameters) 25 )); 26 } 27 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |