callback = $callback; parent::__construct($container, $option); } protected function createConnection(): ConnectionInterface { return make(Connection::class, [ 'pool' => $this, 'callback' => $this->callback, ]); } }