连接池 <?phpuse Hyperf\Contract\ConnectionInterface;use Hyperf\Pool\Pool;class MyConnectionPool extends Pool public function createConnection(): ConnectionInteface return new MyConnection(); }}