1 | <?php |
||
16 | class PulseColumnTextValue extends PulseColumnValue |
||
17 | { |
||
18 | /** |
||
19 | * Get a text column's content |
||
20 | * |
||
21 | * @api |
||
22 | * |
||
23 | * @since 0.1.0 |
||
24 | * |
||
25 | * @return string|null The column's content |
||
26 | */ |
||
27 | 2 | public function getValue () |
|
28 | { |
||
29 | 2 | return parent::getValue(); |
|
30 | } |
||
31 | |||
32 | /** |
||
33 | * Update the text of a text column |
||
34 | * |
||
35 | * @api |
||
36 | * |
||
37 | * @param string $text |
||
38 | * |
||
39 | * @since 0.3.0 \InvalidArgumentException is now thrown |
||
40 | * @since 0.1.0 |
||
41 | * |
||
42 | * @throws \InvalidArgumentException if $text does not have a string representation |
||
43 | */ |
||
44 | 3 | public function updateValue ($text) |
|
60 | |||
61 | 2 | protected function setValue ($response) |
|
65 | } |