Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
invaliddestinationexception.php
1
<?php
2
namespace
Bitrix\Calendar\Core\Queue\Exception
;
3
4
class
InvalidDestinationException
extends
Exception
5
{
12
public
static
function
assertDestinationInstanceOf
($destination,
string
$class): void
13
{
14
if
(!$destination instanceof $class) {
15
throw
new
static
(sprintf(
16
'The destination must be an instance of %s but got %s.'
,
17
$class,
18
is_object($destination) ? get_class($destination) : gettype($destination)
19
));
20
}
21
}
22
}
Bitrix\Calendar\Core\Queue\Exception\Exception
Definition
exception.php:5
Bitrix\Calendar\Core\Queue\Exception\InvalidDestinationException
Definition
invaliddestinationexception.php:5
Bitrix\Calendar\Core\Queue\Exception\InvalidDestinationException\assertDestinationInstanceOf
static assertDestinationInstanceOf($destination, string $class)
Definition
invaliddestinationexception.php:12
Bitrix\Calendar\Core\Queue\Exception
Definition
deliverydelaynotsupportedexception.php:2
modules
calendar
lib
core
queue
exception
invaliddestinationexception.php
Создано системой
1.10.0