| 1 | <?php |
||
| 11 | class PulseColumnTextValue extends PulseColumnValue |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Get a text column's content |
||
| 15 | * |
||
| 16 | * @api |
||
| 17 | * |
||
| 18 | * @since 0.1.0 |
||
| 19 | * |
||
| 20 | * @return string|null The column's content |
||
| 21 | */ |
||
| 22 | 2 | public function getValue () |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Update the text of a text column |
||
| 29 | * |
||
| 30 | * @api |
||
| 31 | * |
||
| 32 | * @param string $text |
||
| 33 | * |
||
| 34 | * @since 0.3.0 \InvalidArgumentException is now thrown |
||
| 35 | * @since 0.1.0 |
||
| 36 | * |
||
| 37 | * @throws \InvalidArgumentException if $text does not have a string representation |
||
| 38 | */ |
||
| 39 | 3 | public function updateValue ($text) |
|
| 55 | |||
| 56 | 2 | protected function setValue ($response) |
|
| 60 | } |