1 | <?php |
||
12 | class Helper { |
||
13 | |||
14 | /** |
||
15 | * Convert php code to array of tokens |
||
16 | * |
||
17 | * @param string $code |
||
18 | * @return Token[] |
||
19 | * @throws Exception |
||
20 | */ |
||
21 | 465 | public static function getTokensFromString($code) { |
|
53 | |||
54 | |||
55 | /** |
||
56 | * @param Collection $collection |
||
57 | * @return string |
||
58 | */ |
||
59 | 3 | public static function dump(Collection $collection) { |
|
67 | |||
68 | |||
69 | } |
||
70 |