SlackWebhookHandlerTest
extends TestCase
in package
Tags
Table of Contents
- WEBHOOK_URL = 'https://hooks.slack.com/services/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E'
- testConstructorFull() : mixed
- testConstructorMinimal() : mixed
- testGetFormatter() : mixed
- testSetFormatter() : mixed
- getIdentityFormatter() : FormatterInterface
- getMultipleRecords() : array<string|int, mixed>
- getRecord() : array<string|int, mixed>
Constants
WEBHOOK_URL
public
mixed
WEBHOOK_URL
= 'https://hooks.slack.com/services/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E'
Methods
testConstructorFull()
public
testConstructorFull() : mixed
Tags
Return values
mixed —testConstructorMinimal()
public
testConstructorMinimal() : mixed
Tags
Return values
mixed —testGetFormatter()
public
testGetFormatter() : mixed
Tags
Return values
mixed —testSetFormatter()
public
testSetFormatter() : mixed
Tags
Return values
mixed —getIdentityFormatter()
protected
getIdentityFormatter() : FormatterInterface
Return values
FormatterInterface —getMultipleRecords()
protected
getMultipleRecords() : array<string|int, mixed>
Return values
array<string|int, mixed> —getRecord()
protected
getRecord([mixed $level = Logger::WARNING ][, mixed $message = 'test' ][, mixed $context = array() ]) : array<string|int, mixed>
Parameters
- $level : mixed = Logger::WARNING
- $message : mixed = 'test'
- $context : mixed = array()
Return values
array<string|int, mixed> —Record