Méthode | Description | |
---|---|---|
it_creates_a_listener_for_a_bot_and_matcher ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\Common\Matcher\MatcherInterface $matcher ) | ||
it_fluently_attaches_bots_and_matchers ( Crummy\Phlack\Bot\BotInterface $bot, |
||
it_is_an_executable ( ) | ||
its_listener_can_accept_a_callable_as_a_matcher ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\WebHook\CommandInterface $command, |
||
its_listener_does_not_execute_without_match ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\Common\Matcher\MatcherInterface $matcher, Crummy\Phlack\WebHook\CommandInterface $command, |
||
its_listener_executes_commands_on_match ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\Common\Matcher\MatcherInterface $matcher, Crummy\Phlack\WebHook\CommandInterface $command, |
||
its_listener_throws_an_exception_for_non_callable_matchers ( Crummy\Phlack\Bot\BotInterface $bot ) |
public it_creates_a_listener_for_a_bot_and_matcher ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\Common\Matcher\MatcherInterface $matcher ) | ||
$bot | Crummy\Phlack\Bot\BotInterface | |
$matcher | Crummy\Phlack\Common\Matcher\MatcherInterface |
public it_fluently_attaches_bots_and_matchers ( Crummy\Phlack\Bot\BotInterface $bot, |
||
$bot | Crummy\Phlack\Bot\BotInterface | |
$matcher |
public its_listener_can_accept_a_callable_as_a_matcher ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\WebHook\CommandInterface $command, |
||
$bot | Crummy\Phlack\Bot\BotInterface | |
$command | Crummy\Phlack\WebHook\CommandInterface | |
$packet |
public its_listener_does_not_execute_without_match ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\Common\Matcher\MatcherInterface $matcher, Crummy\Phlack\WebHook\CommandInterface $command, |
||
$bot | Crummy\Phlack\Bot\BotInterface | |
$matcher | Crummy\Phlack\Common\Matcher\MatcherInterface | |
$command | Crummy\Phlack\WebHook\CommandInterface | |
$packet |
public its_listener_executes_commands_on_match ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\Common\Matcher\MatcherInterface $matcher, Crummy\Phlack\WebHook\CommandInterface $command, |
||
$bot | Crummy\Phlack\Bot\BotInterface | |
$matcher | Crummy\Phlack\Common\Matcher\MatcherInterface | |
$command | Crummy\Phlack\WebHook\CommandInterface | |
$packet |
public its_listener_throws_an_exception_for_non_callable_matchers ( Crummy\Phlack\Bot\BotInterface $bot ) | ||
$bot | Crummy\Phlack\Bot\BotInterface |