Ferreteria/v0.6/clade/Sys/Diag/Util/viewer/Inspector
< Ferreteria | v0.6 | clade | Sys
Jump to navigation
Jump to search
| ||||||||||||||
Code
interface iInspector extends BaseIface {}
class cInspector extends BaseClass implements iInspector {
public function Render() : string {
$o = $this->Subject();
$id = spl_object_id($o);
$sc = get_class($o);
$sOut = "object #$id of class $sc";
if (method_exists($o,'DumpLine')) {
$sOut .= ' = ['.$o->DumpLine().']'; // 2025-05-04 This is a bit of a kluge now.
}
return $sOut;
}
}