\Monolog\HandlerPushoverHandlerTest

Almost all examples (expected header, titles, messages) taken from https://www.pushover.net/api

Summary

Methods
Properties
Constants
testWriteHeader()
testWriteContent()
testWriteWithComplexTitle()
testWriteWithComplexMessage()
testWriteWithTooLongMessage()
testWriteWithHighPriority()
testWriteWithEmergencyPriority()
testWriteToMultipleUsers()
No public properties found
No constants found
getRecord()
getMultipleRecords()
getIdentityFormatter()
No protected properties found
N/A
createHandler()
$res
$handler
N/A

Properties

$res

$res : 

Type

$handler

$handler : 

Type

Methods

testWriteHeader()

testWriteHeader() 

testWriteContent()

testWriteContent(  $content) 

Parameters

$content

testWriteWithComplexTitle()

testWriteWithComplexTitle() 

testWriteWithComplexMessage()

testWriteWithComplexMessage() 

testWriteWithTooLongMessage()

testWriteWithTooLongMessage() 

testWriteWithHighPriority()

testWriteWithHighPriority() 

testWriteWithEmergencyPriority()

testWriteWithEmergencyPriority() 

testWriteToMultipleUsers()

testWriteToMultipleUsers() 

getRecord()

getRecord(  $level = \Monolog\Logger::WARNING,   $message = 'test',   $context = array()) : array

Parameters

$level
$message
$context

Returns

array —

Record

getMultipleRecords()

getMultipleRecords() : array

Returns

array

getIdentityFormatter()

getIdentityFormatter() : \Monolog\Monolog\Formatter\FormatterInterface

Returns

\Monolog\Monolog\Formatter\FormatterInterface

createHandler()

createHandler(  $token = 'myToken',   $user = 'myUser',   $title = 'Monolog') 

Parameters

$token
$user
$title