@@ 50-56 (lines=7) @@ | ||
47 | * @param $id |
|
48 | * @return string |
|
49 | */ |
|
50 | public function show($id) |
|
51 | { |
|
52 | $profile = $this->objectToArray($this->profiler->getProfile($id)); |
|
53 | $renderer = new Process($profile, $this->profiler); |
|
54 | ||
55 | return $renderer->content(); |
|
56 | } |
|
57 | ||
58 | /** |
|
59 | * @param $obj |
@@ 36-42 (lines=7) @@ | ||
33 | * @param $id |
|
34 | * @return string |
|
35 | */ |
|
36 | public function show($id) |
|
37 | { |
|
38 | $profile = $this->objectToArray($this->profiler->getProfile($id)); |
|
39 | $renderer = new BarRenderer($profile, $this->profiler); |
|
40 | ||
41 | return $renderer->content(); |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @param $obj |