| 1 | <?php |
||
| 15 | class Collector |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var mixed |
||
| 19 | */ |
||
| 20 | private $data; |
||
| 21 | |||
| 22 | public function __construct() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param mixed $data |
||
| 29 | * |
||
| 30 | * @return Collector |
||
| 31 | */ |
||
| 32 | public function collect($name, $data, $destination = DataCollection::DESTINATION_PROFILER, $type = null) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return mixed |
||
| 42 | */ |
||
| 43 | public function getData() |
||
| 47 | } |
||
| 48 |