public function load() { $file = file_get_contents($this->path); $object = json_decode($file, true); $object['config'] = Config::__set_state($object['config']); return $object; }