PHP Class Namshi\Notificator\Notification\Handler\RabbitMQ

Inheritance: implements Namshi\Notificator\Notification\Handler\HandlerInterface
Afficher le fichier Open project: namshi/notificator

Protected Properties

Свойство Type Description
$publisher

Méthodes publiques

Méthode Description
__construct ( PhpAmqpLib\Channel\AMQPChannel $publisher ) Constructor.
getPublisher ( ) : PhpAmqpLib\Channel\AMQPChannel
handle ( Namshi\Notificator\NotificationInterface $notification )
shouldHandle ( Namshi\Notificator\NotificationInterface $notification )

Method Details

__construct() public méthode

Constructor.
public __construct ( PhpAmqpLib\Channel\AMQPChannel $publisher )
$publisher PhpAmqpLib\Channel\AMQPChannel

getPublisher() public méthode

public getPublisher ( ) : PhpAmqpLib\Channel\AMQPChannel
Résultat PhpAmqpLib\Channel\AMQPChannel

handle() public méthode

public handle ( Namshi\Notificator\NotificationInterface $notification )
$notification Namshi\Notificator\NotificationInterface

shouldHandle() public méthode

public shouldHandle ( Namshi\Notificator\NotificationInterface $notification )
$notification Namshi\Notificator\NotificationInterface

Property Details

$publisher protected_oe property

protected $publisher