src/Extension/MessageExtension.php
public function exec($collection)
    {
        foreach ($this->serviceExtensions as $extension) {
            if ($extension->messageHandler($collection)) {
                return true;
            }
        }
    }
public function exec($collection)
    {
        foreach ($this->serviceExtensions as $extension) {
            if ($extension->messageHandler($collection)) {
                return true;
            }
        }
    }
执行拓展.

@param $collection

@return bool