Documentation

FlowdockFormatter
in package
implements FormatterInterface

formats the record to be used in the FlowdockHandler

Tags
author

Dominik Liebler liebler.dominik@gmail.com

Table of Contents

Interfaces

FormatterInterface
Interface for formatters

Properties

$source  : string
$sourceEmail  : string

Methods

__construct()  : mixed
format()  : mixed
Formats a log record.
formatBatch()  : mixed
Formats a set of log records.
getShortMessage()  : string

Properties

Methods

__construct()

public __construct(string $source, string $sourceEmail) : mixed
Parameters
$source : string
$sourceEmail : string

format()

Formats a log record.

public format(array<string|int, mixed> $record) : mixed
Parameters
$record : array<string|int, mixed>

A record to format

Return values
mixed

The formatted record

formatBatch()

Formats a set of log records.

public formatBatch(array<string|int, mixed> $records) : mixed
Parameters
$records : array<string|int, mixed>

A set of records to format

Return values
mixed

The formatted set of records

getShortMessage()

public getShortMessage(string $message) : string
Parameters
$message : string
Return values
string

        
On this page

Search results