src/Common/Matcher/CommandMatcher.php
public function matches(CommandInterface $command)
    {
        return null === $this->commandName
            ? $command instanceof SlashCommand
            : $command instanceof SlashCommand && parent::matches($command);
    }
public function matches(CommandInterface $command)
    {
        return null === $this->commandName
            ? $command instanceof SlashCommand
            : $command instanceof SlashCommand && parent::matches($command);
    }
{@inheritdoc}