src/Leevel/Mail/Manager.php
protected function createConnect(object $connect): object
    {
        return new Mail($connect,
            $this->container['view'],
            $this->container['event'],
            $this->getCommonOption()
        );
    }
protected function createConnect(object $connect): object
    {
        return new Mail($connect,
            $this->container['view'],
            $this->container['event'],
            $this->getCommonOption()
        );
    }
创建连接对象

@param object $connect

@return object