/** * @param String $server The STOMP server. * @param Int $port The port number of the STOMP server. * @param String $clientid The client id. * @param String $destination The desitnation queue. * @param string|array $types types * @param boolean $bubble Bubble or not. */ public function __construct($server = 'localhost', $port = 61613, $clientid = 'mystomp', $destination = 'undefined', $types = Notifier::TYPE_ALL, $bubble = true) { $this->stompserver = $server; $this->stompport = $port; $this->stompclientid = $clientid; $this->stompdestination = $destination; parent::__construct($types, $bubble); }
/** * @param String $token The API token from pushover.net * @param array|bool|string $types types * @param boolean $bubble Bubble or not. */ public function __construct($token, $types = Notifier::TYPE_ALL, $bubble = true) { $this->token = $token; parent::__construct($types, $bubble); }
/** * Get the formatter. This will use the default as a fallback. * * @return SwiftMailerFormatter */ public function getFormatter() { return parent::getFormatter(); }
public function __construct($types = Notifier::TYPE_ALL, $appName = 'Notifier', $bubble = true) { $this->appName = $appName; parent::__construct($types, $bubble); }