| 1 | <?php |
||
| 21 | class Text extends Editable |
||
| 22 | 1 | { |
|
| 23 | /** @var \Closure */ |
||
| 24 | protected $truncate; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $maxLen UTF-8 encoding |
||
| 28 | * @param string $append UTF-8 encoding |
||
| 29 | * @return Column |
||
| 30 | */ |
||
| 31 | public function setTruncate($maxLen, $append = "\xE2\x80\xA6") |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param mixed $value |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | protected function formatValue($value) |
||
| 55 | } |
||
| 56 |