Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Mmoreram
RSQueueBundle
Services
Consumer
PHP 클래스 Mmoreram\RSQueueBundle\Services\Consumer
This class
상속:
extends
Mmoreram\RSQueueBundle\Services\Abstracts\AbstractService
파일 보기
프로젝트 열기: mmoreram/rsqueue-bundle
1 사용 예제들
공개 메소드들
메소드
설명
consume
(
Mixed
$queueAlias
,
integer
$timeout
) :
Mixed
Retrieve queue value, with a defined timeout
메소드 상세
consume()
공개
메소드
This method accepts a single queue alias or an array with alias Every new element will be popped from one of defined queue Also, new Consumer event is triggered everytime a new element is popped
public
consume
(
Mixed
$queueAlias
,
integer
$timeout
) :
Mixed
$queueAlias
Mixed
Alias of queue to consume from ( Can be an array of alias )
$timeout
integer
Timeout. By default, 0
리턴
Mixed
payload unserialized