class TruncateFilter

Methods

string
__invoke(string $string, int $length = 50)

Generate a summary of the given string

static 
get()

No description

Details

at line line 14
string __invoke(string $string, int $length = 50)

Generate a summary of the given string

Parameters

string $string The string to summarise
int $length The maximum length of the returned string

Return Value

string The summarised string

at line line 23
static get()