1 | <?php |
||
16 | class DefaultOption implements OptionInterface |
||
17 | { |
||
18 | /** |
||
19 | * Option. |
||
20 | * |
||
21 | * @var int |
||
22 | */ |
||
23 | protected $option; |
||
24 | |||
25 | /** |
||
26 | * Option value. |
||
27 | * |
||
28 | * @var mixed |
||
29 | */ |
||
30 | protected $value; |
||
31 | |||
32 | /** |
||
33 | * Create cURL option. |
||
34 | * |
||
35 | * @param int $option |
||
36 | */ |
||
37 | public function __construct($option) |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function getOption() |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function setValue($value) |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function getValue() |
||
65 | } |
||
66 |