PHP 클래스 Uecode\Bundle\QPushBundle\Provider\AbstractProvider

저자: Keith Kirk ([email protected])
상속: implements Uecode\Bundle\QPushBundle\Provider\ProviderInterface
파일 보기 프로젝트 열기: uecode/qpush-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$cache Doctrine\Common\Cache\Cache Doctrine APC Cache Driver
$logger Monolog\Logger Monolog Logger
$name string QPush Queue Name
$options array QPush Queue Options

공개 메소드들

메소드 설명
create ( )
delete ( $id )
destroy ( )
getCache ( ) {@inheritDoc}
getName ( ) {@inheritDoc}
getNameWithPrefix ( ) {@inheritDoc}
getOptions ( ) {@inheritDoc}
getProvider ( )
getlogger ( ) {@inheritDoc}
log ( $level, $message, array $context = [] ) {@inheritDoc}
mergeOptions ( array $options = [] ) : array Merge override options while restricting what keys are allowed
onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : boolean
onNotification ( Uecode\Bundle\QPushBundle\Event\NotificationEvent $event, string $eventName, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) : boolean
publish ( array $message, array $options = [] )
receive ( array $options = [] )

메소드 상세

create() 추상적인 공개 메소드

abstract public create ( )

delete() 추상적인 공개 메소드

abstract public delete ( $id )

destroy() 추상적인 공개 메소드

abstract public destroy ( )

getCache() 공개 메소드

{@inheritDoc}
public getCache ( )

getName() 공개 메소드

{@inheritDoc}
public getName ( )

getNameWithPrefix() 공개 메소드

{@inheritDoc}
public getNameWithPrefix ( )

getOptions() 공개 메소드

{@inheritDoc}
public getOptions ( )

getProvider() 추상적인 공개 메소드

abstract public getProvider ( )

getlogger() 공개 메소드

{@inheritDoc}
public getlogger ( )

log() 공개 메소드

{@inheritDoc}
public log ( $level, $message, array $context = [] )
$context array

mergeOptions() 공개 메소드

Merge override options while restricting what keys are allowed
public mergeOptions ( array $options = [] ) : array
$options array An array of options that override the queue defaults
리턴 array

onMessageReceived() 공개 메소드

public onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : boolean
$event Uecode\Bundle\QPushBundle\Event\MessageEvent
리턴 boolean

onNotification() 공개 메소드

public onNotification ( Uecode\Bundle\QPushBundle\Event\NotificationEvent $event, string $eventName, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) : boolean
$event Uecode\Bundle\QPushBundle\Event\NotificationEvent
$eventName string Name of the event
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
리턴 boolean

publish() 추상적인 공개 메소드

abstract public publish ( array $message, array $options = [] )
$message array
$options array

receive() 추상적인 공개 메소드

abstract public receive ( array $options = [] )
$options array

프로퍼티 상세

$cache 보호되어 있는 프로퍼티

Doctrine APC Cache Driver
protected Cache,Doctrine\Common\Cache $cache
리턴 Doctrine\Common\Cache\Cache

$logger 보호되어 있는 프로퍼티

Monolog Logger
protected Logger,Monolog $logger
리턴 Monolog\Logger

$name 보호되어 있는 프로퍼티

QPush Queue Name
protected string $name
리턴 string

$options 보호되어 있는 프로퍼티

QPush Queue Options
protected array $options
리턴 array