Conditions | 3 |
Paths | 4 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
41 | public function __construct($name, $data, $destination = self::DESTINATION_PROFILER, $type = null) |
||
42 | { |
||
43 | $this->name = $name; |
||
44 | $this->data = $data; |
||
45 | $this->type = ($type !== null ? $type : (is_array($data) ? 'Array' : get_class($data))); |
||
46 | $this->destination = $destination; |
||
47 | } |
||
48 | |||
129 |