You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
414 B
23 lines
414 B
1 year ago
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Yansongda\Pay\Contract;
|
||
|
|
||
|
interface ConfigInterface
|
||
|
{
|
||
|
/**
|
||
|
* @param mixed $default default value of the entry when does not found
|
||
|
*
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function get(string $key, $default = null);
|
||
|
|
||
|
public function has(string $key): bool;
|
||
|
|
||
|
/**
|
||
|
* @param mixed $value
|
||
|
*/
|
||
|
public function set(string $key, $value): void;
|
||
|
}
|