Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
Mode.php
1
<?php
2
3
namespace
Bitrix\Bizproc\Debugger\Session
;
4
5
class
Mode
6
{
7
public
const
EXPERIMENTAL
= 0;
8
public
const
INTERCEPTION
= 1;
9
10
public
static
function
isMode
($mode): bool
11
{
12
$ref = new \ReflectionClass(__CLASS__);
13
$constants = array_flip($ref->getConstants());
14
15
return
isset($constants[$mode]);
16
}
17
}
Bitrix\Bizproc\Debugger\Session\Mode
Definition
Mode.php:6
Bitrix\Bizproc\Debugger\Session\Mode\isMode
static isMode($mode)
Definition
Mode.php:10
Bitrix\Bizproc\Debugger\Session\Mode\EXPERIMENTAL
const EXPERIMENTAL
Definition
Mode.php:7
Bitrix\Bizproc\Debugger\Session\Mode\INTERCEPTION
const INTERCEPTION
Definition
Mode.php:8
Bitrix\Bizproc\Debugger\Session
Definition
DebuggerState.php:3
modules
bizproc
lib
Debugger
Session
Mode.php
Создано системой
1.10.0