Total Complexity | 1 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class ServerVariable extends AbstractObject implements ExtensibleInterface |
||
11 | { |
||
12 | /** |
||
13 | * REQUIRED. The default value to use for substitution, and to send, |
||
14 | * if an alternate value is not supplied. Unlike the Schema Object's default, |
||
15 | * this value MUST be provided by the consumer. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | public $default; |
||
20 | |||
21 | /** |
||
22 | * An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | public $description; |
||
27 | |||
28 | /** |
||
29 | * An enumeration of string values to be used if the substitution options are from a limited set. |
||
30 | * |
||
31 | * @var string[] |
||
32 | */ |
||
33 | public $enum; |
||
34 | |||
35 | /** |
||
36 | * @param string $default |
||
37 | * @param string $description |
||
38 | * @param string[] $enum |
||
39 | * @param array $additionalProperties |
||
40 | */ |
||
41 | 6 | public function __construct( |
|
53 |