$processors
$processors : callable[]
Sends notifications through the pushover api to mobile phones
$processors : callable[]
$formatter : ?\Monolog\Formatter\FormatterInterface
$level : int
$bubble : bool
$connectionString : string
$connectionTimeout : float
$resource : resource|null
$timeout : float
$writingTimeout : float
$lastSentBytes : ?int
$chunkSize : ?int
$persistent : bool
$errno : ?int
$errstr : ?string
$lastWritingAt : ?float
$token : string
$users : (int|string)[]
$title : string
$user : string|int|null
$retry : int
$expire : int
$highPriorityLevel : int
$emergencyLevel : int
$useFormattedMessage : bool
$parameterNames : array<string,bool>
All parameters that can be sent to Pushover
$sounds : string[]
Sounds the api supports by default
__construct(string $token, string|array $users, string|null $title = null, mixed $level = Logger::CRITICAL, bool $bubble = true, bool $useSSL = true, string|int $highPriorityLevel = Logger::CRITICAL, string|int $emergencyLevel = Logger::EMERGENCY, int $retry = 30, int $expire = 25200, bool $persistent = false, float $timeout = 0.0, float $writingTimeout = 10.0, ?float $connectionTimeout = null, ?int $chunkSize = null) : mixed
string | $token | Pushover api token |
string|array | $users | Pushover user id or array of ids the message will be sent to |
string|null | $title | Title sent to the Pushover API |
mixed | $level | |
bool | $bubble | |
bool | $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. |
string|int | $highPriorityLevel | The minimum logging level at which this handler will start sending "high priority" requests to the Pushover API |
string|int | $emergencyLevel | The minimum logging level at which this handler will start sending "emergency" requests to the Pushover API |
int | $retry | The retry parameter specifies how often (in seconds) the Pushover servers will send the same notification to the user. |
int | $expire | The expire parameter specifies how many seconds your notification will continue to be retried for (every retry seconds). |
bool | $persistent | Flag to enable/disable persistent connections |
float | $timeout | Socket timeout to wait until the request is being aborted |
float | $writingTimeout | Socket timeout to wait until the request should've been sent/written |
?float | $connectionTimeout | Socket connect timeout to wait until the connection should've been established |
?int | $chunkSize | Sets the chunk size. Only has effect during connection in the writing cycle |