| 1 | <?php |
||
| 15 | class NoInterfaceException extends RuntimeException |
||
| 16 | { |
||
| 17 | private const MESSAGE_PATTERN = 'Argument is not an interface. Given : %s'; |
||
| 18 | |||
| 19 | public function __construct(string $interfaceName, int $code = 0, Throwable $previous = null) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $interfaceName |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | private static function generateMessage(string $interfaceName) |
||
| 39 | } |
||
| 40 |