PHP Class Uecode\Bundle\QPushBundle\Tests\MockClient\CustomMockClient

Author: Keith Kirk ([email protected])
Inheritance: extends Uecode\Bundle\QPushBundle\Provider\AbstractProvider
Afficher le fichier Open project: uecode/qpush-bundle

Méthodes publiques

Méthode Description
__construct ( string $name, array $options, mixed $client, Doctrine\Common\Cache\Cache $cache, Logger $logger ) Constructor for Provider classes
create ( )
delete ( $id )
destroy ( )
getProvider ( )
publish ( array $message, array $options = [] )
receive ( array $options = [] )

Method Details

__construct() public méthode

Constructor for Provider classes
public __construct ( string $name, array $options, mixed $client, Doctrine\Common\Cache\Cache $cache, Logger $logger )
$name string Name of the Queue the provider is for
$options array An array of configuration options for the Queue
$client mixed A Queue Client for the provider
$cache Doctrine\Common\Cache\Cache An instance of Doctrine\Common\Cache\Cache
$logger Monolog\Logger An instance of Mongolog\Logger

create() public méthode

public create ( )

delete() public méthode

public delete ( $id )

destroy() public méthode

public destroy ( )

getProvider() public méthode

public getProvider ( )

publish() public méthode

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

receive() public méthode

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