1 | <?php |
||
11 | class Whitespace implements Tokenizer |
||
12 | { |
||
13 | /** |
||
14 | * Get the token sequence from a character sequence |
||
15 | * |
||
16 | * @param string $string |
||
17 | * |
||
18 | * @return array |
||
19 | */ |
||
20 | 3 | public function tokenize($string) |
|
27 | |||
28 | 3 | protected function concatenateDoubleOrMoreSpaces($string) |
|
32 | |||
33 | 3 | protected function removeStartingAndEndingSpaces($string) |
|
37 | } |
||
38 |