1 | <?php namespace Arcanedev\Sanitizer\Filters; |
||
11 | class TrimFilter implements Filterable |
||
12 | { |
||
13 | /* ------------------------------------------------------------------------------------------------ |
||
14 | | Main Functions |
||
15 | | ------------------------------------------------------------------------------------------------ |
||
16 | */ |
||
17 | /** |
||
18 | * Trims the given string. |
||
19 | * |
||
20 | * @param mixed $value |
||
21 | * @param array $options |
||
22 | * |
||
23 | * @return string|mixed |
||
24 | */ |
||
25 | 45 | public function filter($value, array $options = []) |
|
29 | } |
||
30 |