Helper class for working with strings.
package | Default |
---|
getMaxLength(array $array, callable $key) : integer
array
callable
integer
truncate(string $text, integer $chars = 60
) : string
Appends an ellipsis (see https://stackoverflow.com/q/9219795).
string
integer
string