CRMEB_PRO_M/crmeb/services/wechat/contract/ConfigHandlerInterface.php

43 lines
1.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
namespace crmeb\services\wechat\contract;
/**
* 配置
* Interface ConfigHandlerInterface
* @package crmeb\services\wechat\contract
*/
interface ConfigHandlerInterface
{
/**
* 设置
* @param string $key
* @param $value
* @return mixed
*/
public function set(string $key, $value);
/**
* 获取单个
* @param string|null $key
* @return mixed
*/
public function get(string $key = null);
/**
* 获取全部
* @return array
*/
public function all(): array;
}