Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
invalidmessageexception.php
1<?php
2
4
6
8{
15 public static function assertMessageInstanceOf(Message $message, string $class): void
16 {
17 if (!$message instanceof $class) {
18 throw new static(sprintf(
19 'The message must be an instance of %s but it is %s.',
20 $class,
21 get_class($message)
22 ));
23 }
24 }
25}