src/Filesystem/HashFile.php
public static function getPath(string $hash = ''): string
    {
        static::init();
        $hashDir = \implode('/', \str_split(\substr($hash, 0, static::$hashFileDirDepth), 1));
        $filePath = static::normalizePath(\sprintf('%s%s', static::$hashFileDir, $hashDir));
        $filePath .= DIRECTORY_SEPARATOR;

        return $filePath;
    }
public static function getPath(string $hash = ''): string
    {
        static::init();
        $hashDir = \implode('/', \str_split(\substr($hash, 0, static::$hashFileDirDepth), 1));
        $filePath = static::normalizePath(\sprintf('%s%s', static::$hashFileDir, $hashDir));
        $filePath .= DIRECTORY_SEPARATOR;

        return $filePath;
    }
public static function getPath ( string $ hash = '' ) : string { static :: init ( ) ; $ hashDir = \ implode ( '/' , \ str_split ( \ substr ( $ hash , 0 , static :: $ hashFileDirDepth ) , 1 ) ) ; $ filePath = static :: normalizePath ( \ sprintf ( '%s%s' , static :: $ hashFileDir , $ hashDir ) ) ; $ filePath .= DIRECTORY_SEPARATOR ; return $ filePath ; }
Returns hash file path

@param string $hash
@return string
Returns hash file path