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

Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: mcrumm/phlack

Méthodes publiques

Méthode Description
it_does_not_match_unmatched_names ( SlashCommand $command )
it_is_a_matcher ( )
it_matches_a_SlashCommand_by_name ( SlashCommand $command )
it_matches_a_WebHook_by_name ( WebHook $command )
it_sets_command_name ( )

Method Details

it_does_not_match_unmatched_names() public méthode

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

it_is_a_matcher() public méthode

public it_is_a_matcher ( )

it_matches_a_SlashCommand_by_name() public méthode

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

it_matches_a_WebHook_by_name() public méthode

public it_matches_a_WebHook_by_name ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook

it_sets_command_name() public méthode