public matches ( Crummy\Phlack\WebHook\CommandInterface $command ) | ||
$command | Crummy\Phlack\WebHook\CommandInterface |
public function matches(CommandInterface $command)
{
return null === $this->commandName ? $command instanceof WebHookInterface : $command instanceof WebHookInterface && parent::matches($command);
}