src/Registry/Adapter/FileSystemAdapter.php
protected function getFileName(string $namespace, string $hash): string
    {
        $fileName = implode(DIRECTORY_SEPARATOR, [
            $this->directory,
            $namespace,
            substr($hash, 0, 2),
            $hash
        ]);
        return $fileName;
    }
protected function getFileName(string $namespace, string $hash): string
    {
        $fileName = implode(DIRECTORY_SEPARATOR, [
            $this->directory,
            $namespace,
            substr($hash, 0, 2),
            $hash
        ]);
        return $fileName;
    }
protected function getFileName ( string $ namespace , string $ hash ) : string { $ fileName = implode ( DIRECTORY_SEPARATOR , [ $ this -> directory , $ namespace , substr ( $ hash , 0 , 2 ) , $ hash ] ) ; return $ fileName ; }
Returns the filename to use to save the content with the specified namespace and hash.
@param string $namespace
@param string $hash
@return string
Returns the filename to use to save the content with the specified namespace and hash .