DriverInterface.php 444 Bytes
Newer Older
Liu lu's avatar
Liu lu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?php

namespace Meibuyu\Micro\CenterConfig\Driver;

/**
 * 配置中心驱动
 * @author carlos
 */
interface DriverInterface
{
    /**
     * Notes: 拉取配置
     * User: carlos
     * DateTime: 2022/9/9 10:14
     * @return mixed
     */
    public function fetchConfig(array $config);

    /**
     * Notes: 获取连接
     * User: carlos
     * DateTime: 2022/9/9 10:14
     * @return mixed
     */
    public function getClient();
}