src/Bot/Mainframe/Adapter/AbstractAdapter.php
public function attach(BotInterface $bot, $matcher = null, $priority = 0)
    {
        $this->mainframe->attach($bot, $matcher, $priority);

        return $this;
    }
public function attach(BotInterface $bot, $matcher = null, $priority = 0)
    {
        $this->mainframe->attach($bot, $matcher, $priority);

        return $this;
    }
@param BotInterface              $bot
@param MatcherInterface|callable $matcher
@param int                       $priority

@return self