Truncation
trait Truncation
Methods
string
truncate(string $string, int $width)
Truncate a value with an ellipsis if it exceeds the given width.
Details
at line 14
protected string
truncate(string $string, int $width)
Truncate a value with an ellipsis if it exceeds the given width.