同步操作将从 inhere/php-queue 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?php/*** Created by PhpStorm.* User: inhere* Date: 2017年5月21日* Time: 上午1:26*/namespace Inhere\Queue;/*** Interface QueueInterface* @package Inhere\Queue** @property string $driver*/interface QueueInterface{/*** Priorities*/const PRIORITY_HIGH = 0;const PRIORITY_NORM = 1;const PRIORITY_LOW = 2;const PRIORITY_LOW_SUFFIX = '_low';const PRIORITY_HIGH_SUFFIX = '_high';/*** Events list*/const EVENT_BEFORE_PUSH = 'beforePush';const EVENT_AFTER_PUSH = 'afterPush';const EVENT_ERROR_PUSH = 'errorPush';const EVENT_BEFORE_POP = 'beforePop';const EVENT_AFTER_POP = 'afterPop';const EVENT_ERROR_POP = 'errorPop';/*** push data* @param mixed $data* @param int $priority* @return bool*/public function push($data, $priority = self::PRIORITY_NORM): bool;/*** pop data* @param null|int $priority If is Null, pop all queue data by priority.* @param bool $block Whether block pop* @return mixed*/public function pop($priority = null, $block = false);/*** @param int $priority* @return int*/public function count($priority = self::PRIORITY_NORM);/*** @return string|int*/public function getId();/*** @return array*/public function getChannels();/*** @return array*/public function getIntChannels();/*** @return string*/public function getDriver(): string;/*** @return int*/public function getErrCode(): int;/*** @return string*/public function getErrMsg(): string;}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。