Total Complexity | 10 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class Output |
||
6 | { |
||
7 | /** |
||
8 | * @param mixed $data |
||
9 | * @param string $identifier |
||
10 | */ |
||
11 | public static function variable($data, $identifier = '') { |
||
12 | echo "\n"; |
||
13 | if (!empty($identifier)) { |
||
14 | self::print_variable_with_title($data, $identifier); |
||
15 | } else { |
||
16 | self::print_variable($data); |
||
17 | } |
||
18 | } |
||
19 | |||
20 | private static function print_variable_with_title($data, $title) { |
||
27 | } |
||
28 | |||
29 | private static function print_variable($data) { |
||
53 | } |
||
54 | } |