(7:15:01 PM) Flynsarmy: i feel component should also show the subheader too
This commit is contained in:
parent
7cb8bf0d9a
commit
a00cb9f556
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue