Ferreteria/v0.6/clade/Sys/Data/Things/Array/@code/2025/06/28

From WoozleCodes
Jump to navigation Jump to search
2025/06/27 2025/06/28 2025/06/29

2025/06/25 commented out (now using InspectNew()):

#
    public function Inspect() : ViewIface {
      echo 'SUBJECT CLASS: '.get_called_class().CRLF;
      echo $this->ReflectThis()->Report();
      echo ($this->InspectorClass())::ReflectSelf()->Report();

      return ($this->InspectorClass())::FromGridData($this);
    }
    // debug version
    public function Inspect() : ViewIface {
        $sc = $this->InspectorClass();
        echo $sc::ReflectSelf()->Report();
        return $sc::FromOArray($this); 
    }