public function refreshSpaceCache(Client $client): void
    {
        $spacePath = $this->getSpaceCachePath($client);
        $this->fileSystem->dumpFile($spacePath . '/space.json', (string) json_encode($client->getSpace()));
    }