public function getSpaceCachePath(Client $client): string
    {
        $space = $client->getSpace();
        $spacePath = $this->cacheDir . $space->getId();
        if (!$this->fileSystem->exists($spacePath)) {
            $this->fileSystem->mkdir($spacePath);
        }

        return $spacePath;
    }
public function getSpaceCachePath(Client $client): string
    {
        $space = $client->getSpace();
        $spacePath = $this->cacheDir . $space->getId();
        if (!$this->fileSystem->exists($spacePath)) {
            $this->fileSystem->mkdir($spacePath);
        }

        return $spacePath;
    }
public function getSpaceCachePath ( Client $ client ) : string { $ space = $ client -> getSpace ( ) ; $ spacePath = $ this -> cacheDir . $ space -> getId ( ) ; if ( ! $ this -> fileSystem -> exists ( $ spacePath ) ) { $ this -> fileSystem -> mkdir ( $ spacePath ) ; } return $ spacePath ; }
Returns the cache path for provided client.
Returns the cache path for provided client .