public function getConfig() { return (new Config())->fromArray(json_decode($this->getJson(), true)); }