Redaxscript\Cache::_getFile PHP Method

_getFile() protected method

get the file
Since: 3.0.0
protected _getFile ( mixed $bundle = null ) : string
$bundle mixed key or collection of the bundle
return string
    protected function _getFile($bundle = null)
    {
        if (is_string($bundle)) {
            $bundle = [$bundle];
        }
        return sha1(implode('-', $bundle)) . '.' . $this->_extension;
    }