PHP Класс Namshi\Notificator\Notification\Handler\RabbitMQ

Наследование: implements Namshi\Notificator\Notification\Handler\HandlerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$publisher

Открытые методы

Метод Описание
__construct ( PhpAmqpLib\Channel\AMQPChannel $publisher ) Constructor.
getPublisher ( ) : PhpAmqpLib\Channel\AMQPChannel
handle ( Namshi\Notificator\NotificationInterface $notification )
shouldHandle ( Namshi\Notificator\NotificationInterface $notification )

Описание методов

__construct() публичный Метод

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

getPublisher() публичный Метод

public getPublisher ( ) : PhpAmqpLib\Channel\AMQPChannel
Результат PhpAmqpLib\Channel\AMQPChannel

handle() публичный Метод

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

shouldHandle() публичный Метод

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

Описание свойств

$publisher защищенное свойство

protected $publisher