PHP code example of moselwal / cluster-file-backend
1. Go to this page and download the library: Download moselwal/cluster-file-backend library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
$metadata = $this->metadataCache->get($identifier); // → null (cache flushed)
if ($metadata === null) {
// cache_miss_total{reason=no-metadata}++
return null; // ← pod does NOT consult its local FS
}