@@ 35-37 (lines=3) @@ | ||
32 | $start = empty($parsed['pos']) ? 0 : $parsed['pos'][0] - 1; |
|
33 | $value = substr($value, $start, $parsed['size']); |
|
34 | ||
35 | if (method_exists($this, $method)) { |
|
36 | return call_user_func_array([$this, $method], [$value, $parsed]); |
|
37 | } |
|
38 | ||
39 | $method = $parsed['data-type'] . 'Trim'; |
|
40 | ||
@@ 164-166 (lines=3) @@ | ||
161 | $value = $this->transliterate($value); |
|
162 | } |
|
163 | ||
164 | if (method_exists($this, $method)) { |
|
165 | return call_user_func_array([$this, $method], [$value, $parsed]); |
|
166 | } |
|
167 | ||
168 | return $this->limit($value, $parsed['size'], $parsed); |
|
169 | } |