PHP Class spec\Crummy\Phlack\Common\Matcher\CommandMatcherSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: mcrumm/phlack

Public Methods

Method Description
it_does_not_match_unmatched_names ( SlashCommand $command )
it_does_not_match_webhooks ( Crummy\Phlack\WebHook\WebHookInterface $webhook )
it_is_initializable ( )
it_matches_command_by_name ( SlashCommand $command )
it_matches_slash_commands ( SlashCommand $command )
let ( )

Method Details

it_does_not_match_unmatched_names() public method

public it_does_not_match_unmatched_names ( SlashCommand $command )
$command Crummy\Phlack\WebHook\SlashCommand

it_does_not_match_webhooks() public method

public it_does_not_match_webhooks ( Crummy\Phlack\WebHook\WebHookInterface $webhook )
$webhook Crummy\Phlack\WebHook\WebHookInterface

it_is_initializable() public method

public it_is_initializable ( )

it_matches_command_by_name() public method

public it_matches_command_by_name ( SlashCommand $command )
$command Crummy\Phlack\WebHook\SlashCommand

it_matches_slash_commands() public method

public it_matches_slash_commands ( SlashCommand $command )
$command Crummy\Phlack\WebHook\SlashCommand

let() public method

public let ( )