Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
59 | 3 | public static function dump(Collection $collection) { |
|
60 | 3 | $string = '<pre>' . "\n"; |
|
61 | 3 | foreach ($collection as $token) { |
|
62 | 3 | $string .= '[' . $token->getTypeName() . ']' . "\n" . print_r($token->getData(), true) . "\n"; |
|
63 | } |
||
64 | 3 | $string .= ' </pre > '; |
|
65 | 3 | return $string; |
|
66 | } |
||
67 | |||
70 |