PHP Class Crummy\Phlack\Common\Iterocitor

Inheritance: implements Crummy\Phlack\Common\Responder\ResponderInterface
Afficher le fichier Open project: mcrumm/phlack

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
important ( string $where, string $text ) : Reply

Method Details

__construct() public méthode

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

emote() public méthode

public emote ( $text )

important() protected méthode

protected important ( string $where, string $text ) : Reply
$where string
$text string
Résultat Crummy\Phlack\WebHook\Reply\Reply

reply() public méthode

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

say() public méthode

public say ( $text )

send() public méthode

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

shout() public méthode

public shout ( string $text ) : Reply
$text string
Résultat Crummy\Phlack\WebHook\Reply\Reply

tell() public méthode

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