public function getPathFromKey(string $key): string
    {
        return sprintf($this->dataPattern, $this->dataFolder, $key, substr($key, 0, 2));
    }
public function getPathFromKey(string $key): string
    {
        return sprintf($this->dataPattern, $this->dataFolder, $key, substr($key, 0, 2));
    }
public function getPathFromKey ( string $ key ) : string { return sprintf ( $ this -> dataPattern , $ this -> dataFolder , $ key , substr ( $ key , 0 , 2 ) ) ; }
Get filesystem path from the key.

@param string $key
@return string
Get filesystem path from the key .