PHP Class Crummy\Phlack\Common\Iterocitor

Inheritance: implements Crummy\Phlack\Common\Responder\ResponderInterface
Datei anzeigen Open project: mcrumm/phlack

Public Methods

Method Description
__construct ( array $options = [] )
emote ( $text ) "Emotes" a message into the channel.
reply ( $user, $text ) : Reply Respond with a reply to a user.
say ( $text )
send ( Crummy\Phlack\Message\MessageInterface $message )
shout ( string $text ) : Reply
tell ( string $user, $text ) Send a message to a user.

Protected Methods

Method Description
important ( string $where, string $text ) : Reply

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

emote() public method

public emote ( $text )

important() protected method

protected important ( string $where, string $text ) : Reply
$where string
$text string
return Crummy\Phlack\WebHook\Reply\Reply

reply() public method

Respond with a reply to a user.
public reply ( $user, $text ) : Reply
$text
return Crummy\Phlack\WebHook\Reply\Reply

say() public method

public say ( $text )

send() public method

public send ( Crummy\Phlack\Message\MessageInterface $message )
$message Crummy\Phlack\Message\MessageInterface

shout() public method

public shout ( string $text ) : Reply
$text string
return Crummy\Phlack\WebHook\Reply\Reply

tell() public method

Send a message to a user.
public tell ( string $user, $text )
$user string user_id {@inheritdoc}