$output = ' [';
} elseif ('object' ===
$o->type
) { $output = ' (';
} else { return '';
} $children = '';
if ($o->value && \
is_array($o->value->contents
)) { if ($o instanceof InstanceValue && 'properties' ===
$o->value->
getName()) { foreach (self::
sortProperties($o->value->contents, self::
$sort) as $obj) { $children .=
$this->
render($obj);
} } else { foreach ($o->value->contents
as $child) { $children .=
$this->
render($child);
} } } if ($children) { $output .= PHP_EOL.
$children;