This repository was archived by the owner on Sep 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-45
lines changed
classes/general/BitrixDebugger Expand file tree Collapse file tree 4 files changed +5
-45
lines changed Original file line number Diff line number Diff line change 22
33namespace GGrach \BitrixDebugger \Configurator ;
44
5- use \GGrach \BitrixDebugger \Contract \IShowModable ;
6-
75/**
86 * Description of DebugConfigurator
97 *
108 * @author ggrachdev
119 */
12- class DebuggerConfigurator implements IShowModable {
10+ class DebuggerConfigurator {
1311
1412 /**
1513 * Путь до лог файлов разного уровня
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33namespace GGrach \BitrixDebugger \Validator ;
44
5- use GGrach \BitrixDebugger \Contract \IShowModable ;
65use GGrach \BitrixDebugger \Configurator \DebuggerConfigurator ;
76
87/**
98 * Проверка допустимых действий для режимов отображения
10- *
11- * @author ggrachdev
129 */
1310class ShowModeDebuggerValidator {
1411
15- public static function needShowInDebugBar (IShowModable $ showModable ) {
16- return in_array (DebuggerConfigurator::SHOW_MODE_IN_DEBUG_BAR , $ showModable ->getShowModes ());
12+ public static function needShowInDebugBar (DebuggerConfigurator $ debuggerConfigurator ) {
13+ return in_array (DebuggerConfigurator::SHOW_MODE_IN_DEBUG_BAR , $ debuggerConfigurator ->getShowModes ());
1714 }
1815
19- public static function needShowInCode (IShowModable $ showModable ) {
16+ public static function needShowInCode (DebuggerConfigurator $ debuggerConfigurator ) {
2017 global $ USER ;
21- return in_array (DebuggerConfigurator::SHOW_MODE_IN_CODE , $ showModable ->getShowModes ()) && \is_object ($ USER ) && $ USER ->IsAdmin ();
18+ return in_array (DebuggerConfigurator::SHOW_MODE_IN_CODE , $ debuggerConfigurator ->getShowModes ()) && \is_object ($ USER ) && $ USER ->IsAdmin ();
2219 }
2320
2421}
Original file line number Diff line number Diff line change 2121 "\\GGrach \\BitrixDebugger \\Debugger \\LogFileDebugger " => "classes/general/BitrixDebugger/Debugger/LogFileDebugger.php " ,
2222 "\\GGrach \\BitrixDebugger \\Debugger \\ConfigurationDebugger " => "classes/general/BitrixDebugger/Debugger/ConfigurationDebugger.php " ,
2323 "\\GGrach \\BitrixDebugger \\Debugger \\FilterDebugger " => "classes/general/BitrixDebugger/Debugger/FilterDebugger.php " ,
24- "\\GGrach \\BitrixDebugger \\Contract \\IShowModable " => "classes/general/BitrixDebugger/Contract/IShowModable.php " ,
2524 "\\GGrach \\BitrixDebugger \\Configurator \\DebuggerConfigurator " => "classes/general/BitrixDebugger/Configurator/DebuggerConfigurator.php " ,
2625 "\\GGrach \\BitrixDebugger \\Configurator \\DebugBarConfigurator " => "classes/general/BitrixDebugger/Configurator/DebugBarConfigurator.php " ,
2726 "\\GGrach \\BitrixDebugger \\Cache \\RuntimeCache " => "classes/general/BitrixDebugger/Cache/RuntimeCache.php " ,
You can’t perform that action at this time.
0 commit comments