cache = collect(['software'=>rtrim($data)]); // For debugging if (FALSE) $this->debug = hex_dump($data ?: $this->data()); } public function __get(string $key): mixed { switch ($key) { case 'software': return $this->cache->get('software'); default: return parent::__get($key); } } }