403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/bizproc/lib/Debugger/Session/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/bizproc/lib/Debugger/Session/DebuggerState.php
<?php

namespace Bitrix\Bizproc\Debugger\Session;

class DebuggerState
{
	public const RUN = 0;
	public const NEXT_STEP = 1;
	public const STOP = 2;
	public const PAUSE = 3;
	public const UNDEFINED = -1;

	private int $stateId;

	public function __construct(int $stateId)
	{
		$this->stateId = $stateId;
	}

	public static function undefined(): self
	{
		return new self(self::UNDEFINED);
	}

	public static function run(): self
	{
		return new self(self::RUN);
	}

	public static function nextStep(): self
	{
		return new self(self::NEXT_STEP);
	}

	public static function pause(): self
	{
		return new self(self::PAUSE);
	}

	public static function stop(): self
	{
		return new self(self::STOP);
	}

	public function is(int $stateId): bool
	{
		return $this->stateId === $stateId;
	}

	public function getId(): int
	{
		return $this->stateId;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit