PHP Class Crummy\Phlack\Common\Formatter\Sequencer

Inheritance: implements Crummy\Phlack\Common\Formatter\FormatterInterface
Datei anzeigen Open project: mcrumm/phlack

Public Methods

Method Description
alert ( string $channel ) : string
command ( Crummy\Phlack\WebHook\CommandInterface $command ) : array
format ( string $text, string $label = null ) : string
sequence ( string $text, null $label = null ) : string

Method Details

alert() public static method

public static alert ( string $channel ) : string
$channel string
return string

command() public static method

public static command ( Crummy\Phlack\WebHook\CommandInterface $command ) : array
$command Crummy\Phlack\WebHook\CommandInterface
return array

format() public method

public format ( string $text, string $label = null ) : string
$text string The text to be sequenced
$label string An optional label
return string

sequence() public static method

public static sequence ( string $text, null $label = null ) : string
$text string
$label null
return string