PHP Class Uecode\Bundle\QPushBundle\Provider\SyncProvider

Inheritance: extends AbstractProvider
显示文件 Open project: uecode/qpush-bundle Class Usage Examples

Protected Properties

Property Type Description
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

Public Methods

Method Description
__construct ( $name, array $options, $client, Doctrine\Common\Cache\Cache $cache, Logger $logger )
create ( )
delete ( $id )
destroy ( )
getProvider ( )
publish ( array $message, array $options = [] )
receive ( array $options = [] )

Method Details

__construct() public method

public __construct ( $name, array $options, $client, Doctrine\Common\Cache\Cache $cache, Logger $logger )
$options array
$cache Doctrine\Common\Cache\Cache
$logger Monolog\Logger

create() public method

public create ( )

delete() public method

public delete ( $id )

destroy() public method

public destroy ( )

getProvider() public method

public getProvider ( )

publish() public method

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

receive() public method

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

Property Details

$dispatcher protected_oe property

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $dispatcher
return Symfony\Component\EventDispatcher\EventDispatcherInterface