(7:15:01 PM) Flynsarmy: i feel component should also show the subheader too

This commit is contained in:
Sam Georges 2014-10-24 19:17:21 +11:00
parent 7cb8bf0d9a
commit a00cb9f556
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class DebugExtension extends Twig_Extension
$var = func_get_arg($i);
if ($var instanceof ComponentBase) {
$caption = static::COMPONENT_CAPTION;
$caption = [static::COMPONENT_CAPTION, get_class($var)];
} elseif (is_array($var)) {
$caption = static::ARRAY_CAPTION;
} else {