Crummy\Phlack\Common\Iterocitor::reply PHP Method

reply() public method

Respond with a reply to a user.
public reply ( $user, $text ) : Reply
$text
return Crummy\Phlack\WebHook\Reply\Reply
    public function reply($user, $text)
    {
        if ($user instanceof CommandInterface) {
            $sequence = $this->sequencer->command($user);
            return $this->say($sequence['user'] . ' ' . $text);
        }
        return $this->tell($user, $text);
    }