| @@ 122-126 (lines=5) @@ | ||
| 119 | ||
| 120 | public function render(Kint_Object $o) |
|
| 121 | { |
|
| 122 | if ($plugin = $this->getPlugin(self::$object_renderers, $o->hints)) { |
|
| 123 | if (strlen($output = $plugin->render($o))) { |
|
| 124 | return $output; |
|
| 125 | } |
|
| 126 | } |
|
| 127 | ||
| 128 | $children = $this->renderChildren($o); |
|
| 129 | $header = $this->renderHeaderWrapper($o, (bool) strlen($children), $this->renderHeader($o)); |
|
| @@ 262-266 (lines=5) @@ | ||
| 259 | ||
| 260 | protected function renderTab(Kint_Object $o, Kint_Object_Representation $rep) |
|
| 261 | { |
|
| 262 | if ($plugin = $this->getPlugin(self::$tab_renderers, $rep->hints)) { |
|
| 263 | if (strlen($output = $plugin->render($rep))) { |
|
| 264 | return $output; |
|
| 265 | } |
|
| 266 | } |
|
| 267 | ||
| 268 | if (is_array($rep->contents)) { |
|
| 269 | $output = ''; |
|
| @@ 79-83 (lines=5) @@ | ||
| 76 | ||
| 77 | public function render(Kint_Object $o) |
|
| 78 | { |
|
| 79 | if ($plugin = $this->getPlugin(self::$object_renderers, $o->hints)) { |
|
| 80 | if (strlen($output = $plugin->render($o))) { |
|
| 81 | return $output; |
|
| 82 | } |
|
| 83 | } |
|
| 84 | ||
| 85 | $out = ''; |
|
| 86 | ||