Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class Setting extends BaseDataType |
||
11 | { |
||
12 | |||
13 | protected $propertyMap = [ |
||
14 | 'settingName', |
||
15 | 'settingValue', |
||
16 | ]; |
||
17 | |||
18 | /** |
||
19 | * Constructs a new Setting object. |
||
20 | * |
||
21 | * @param string $name |
||
22 | * The name of the setting (e.g., hostedPaymentReturnOptions). |
||
23 | * @param mixed $value |
||
24 | * The value, which will be JSON-encoded if it's an array. |
||
25 | */ |
||
26 | public function __construct(string $name, $value) |
||
38 |