Filters all prepended and trailing whitespaces from given value.

package Formagic\Filter
author Florian Sonnenburg
since 2011 First time introduced

 Methods

Removes all prepended and trailing whitespaces.

filter(mixed $value) : mixed
inherited_from \Formagic_Filter_Interface::filter()

Parameters

$value

mixed

Value to be trimmed

Returns

mixedTrimmed value