|
|
@@ -32,19 +32,19 @@ class PushoverHandler extends SocketHandler
|
|
|
private $emergencyLevel;
|
|
|
|
|
|
/**
|
|
|
- * @param string $token Pushover api token
|
|
|
- * @param string|array $users Pushover user id or array of ids the message will be sent to
|
|
|
- * @param string $title Title sent to the Pushover API
|
|
|
- * @param integer $level The minimum logging level at which this handler will be triggered
|
|
|
- * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
|
|
|
- * @param Boolean $useSSL Whether to connect via SSL. Required when pushing messages to users that are not
|
|
|
- * the pushover.net app owner. OpenSSL is required for this option.
|
|
|
- * @param integer $highPriorityLevel The minimum logging level at which this handler will start
|
|
|
- * sending "high priority" requests to the Pushover API
|
|
|
- * @param integer $emergencyLevel The minimum logging level at which this handler will start
|
|
|
- * sending "emergency" requests to the Pushover API
|
|
|
- * @param integer $retry The retry parameter specifies how often (in seconds) the Pushover servers will send the same notification to the user.
|
|
|
- * @param integer $expire The expire parameter specifies how many seconds your notification will continue to be retried for (every retry seconds).
|
|
|
+ * @param string $token Pushover api token
|
|
|
+ * @param string|array $users Pushover user id or array of ids the message will be sent to
|
|
|
+ * @param string $title Title sent to the Pushover API
|
|
|
+ * @param integer $level The minimum logging level at which this handler will be triggered
|
|
|
+ * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
|
|
|
+ * @param Boolean $useSSL Whether to connect via SSL. Required when pushing messages to users that are not
|
|
|
+ * the pushover.net app owner. OpenSSL is required for this option.
|
|
|
+ * @param integer $highPriorityLevel The minimum logging level at which this handler will start
|
|
|
+ * sending "high priority" requests to the Pushover API
|
|
|
+ * @param integer $emergencyLevel The minimum logging level at which this handler will start
|
|
|
+ * sending "emergency" requests to the Pushover API
|
|
|
+ * @param integer $retry The retry parameter specifies how often (in seconds) the Pushover servers will send the same notification to the user.
|
|
|
+ * @param integer $expire The expire parameter specifies how many seconds your notification will continue to be retried for (every retry seconds).
|
|
|
*/
|
|
|
public function __construct($token, $users, $title = null, $level = Logger::CRITICAL, $bubble = true, $useSSL = true, $highPriorityLevel = Logger::CRITICAL, $emergencyLevel = Logger::EMERGENCY, $retry = 30, $expire = 25200)
|
|
|
{
|